Home
last modified time | relevance | path

Searched refs:signatureAlgorithm (Results 1 – 21 of 21) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DAttributeCertificate.java14 AlgorithmIdentifier signatureAlgorithm; field in AttributeCertificate
37 AlgorithmIdentifier signatureAlgorithm, in AttributeCertificate() argument
41 this.signatureAlgorithm = signatureAlgorithm; in AttributeCertificate()
58 this.signatureAlgorithm = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in AttributeCertificate()
69 return signatureAlgorithm; in getSignatureAlgorithm()
92 v.add(signatureAlgorithm); in toASN1Primitive()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509V1CertificateGenerator.java48 private String signatureAlgorithm; field in X509V1CertificateGenerator
162 String signatureAlgorithm) in setSignatureAlgorithm() argument
164 this.signatureAlgorithm = signatureAlgorithm; in setSignatureAlgorithm()
168 sigOID = X509Util.getAlgorithmOID(signatureAlgorithm); in setSignatureAlgorithm()
175 sigAlgId = X509Util.getSigAlgID(sigOID, signatureAlgorithm); in setSignatureAlgorithm()
300 … signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, key, random, tbsCert); in generate()
339 …signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, provider, key, random, tbsCert… in generate()
DX509V3CertificateGenerator.java50 private String signatureAlgorithm; field in X509V3CertificateGenerator
168 String signatureAlgorithm) in setSignatureAlgorithm() argument
170 this.signatureAlgorithm = signatureAlgorithm; in setSignatureAlgorithm()
174 sigOID = X509Util.getAlgorithmOID(signatureAlgorithm); in setSignatureAlgorithm()
178 … throw new IllegalArgumentException("Unknown signature type requested: " + signatureAlgorithm); in setSignatureAlgorithm()
181 sigAlgId = X509Util.getSigAlgID(sigOID, signatureAlgorithm); in setSignatureAlgorithm()
434 … signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, key, random, tbsCert); in generate()
479 …signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, provider, key, random, tbsCert… in generate()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DJcaContentSignerBuilder.java26 private String signatureAlgorithm; field in JcaContentSignerBuilder
29 public JcaContentSignerBuilder(String signatureAlgorithm) in JcaContentSignerBuilder() argument
31 this.signatureAlgorithm = signatureAlgorithm; in JcaContentSignerBuilder()
32 this.sigAlgId = new DefaultSignatureAlgorithmIdentifierFinder().find(signatureAlgorithm); in JcaContentSignerBuilder()
DOperatorHelper.java276 String signatureAlgorithm = (String)oids.get(sigAlgId.getAlgorithm()); in createSignature()
278 sig = helper.createSignature(signatureAlgorithm); in createSignature()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DPKCS10CertificationRequest.java258 String signatureAlgorithm, in PKCS10CertificationRequest() argument
266 …this(signatureAlgorithm, subject, key, attributes, signingKey, BouncyCastleProvider.PROVIDER_NAME); in PKCS10CertificationRequest()
286 String signatureAlgorithm, in PKCS10CertificationRequest() argument
294 …this(signatureAlgorithm, convertName(subject), key, attributes, signingKey, BouncyCastleProvider.P… in PKCS10CertificationRequest()
301 String signatureAlgorithm, in PKCS10CertificationRequest() argument
310 this(signatureAlgorithm, convertName(subject), key, attributes, signingKey, provider); in PKCS10CertificationRequest()
317 String signatureAlgorithm, in PKCS10CertificationRequest() argument
326 String algorithmName = Strings.toUpperCase(signatureAlgorithm); in PKCS10CertificationRequest()
377 sig = Signature.getInstance(signatureAlgorithm); in PKCS10CertificationRequest()
381 sig = Signature.getInstance(signatureAlgorithm, provider); in PKCS10CertificationRequest()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DDefaultCMSSignatureEncryptionAlgorithmFinder.java42 public AlgorithmIdentifier findEncryptionAlgorithm(AlgorithmIdentifier signatureAlgorithm) in findEncryptionAlgorithm() argument
45 if (RSA_PKCS1d5.contains(signatureAlgorithm.getAlgorithm())) in findEncryptionAlgorithm()
50 return signatureAlgorithm; in findEncryptionAlgorithm()
DCMSSignatureEncryptionAlgorithmFinder.java16 AlgorithmIdentifier findEncryptionAlgorithm(AlgorithmIdentifier signatureAlgorithm); in findEncryptionAlgorithm() argument
/external/openssl/include/openssl/
Docsp.h151 X509_ALGOR *signatureAlgorithm; member
313 X509_ALGOR *signatureAlgorithm; member
388 o->optionalSignature->signatureAlgorithm,NULL,\
392 ASN1_item_sign(ASN1_ITEM_rptr(OCSP_RESPDATA),o->signatureAlgorithm,NULL,\
396 a->optionalSignature->signatureAlgorithm,\
400 a->signatureAlgorithm,a->signature,a->tbsResponseData,r)
/external/openssl/crypto/ocsp/
Docsp.h151 X509_ALGOR *signatureAlgorithm; member
313 X509_ALGOR *signatureAlgorithm; member
388 o->optionalSignature->signatureAlgorithm,NULL,\
392 ASN1_item_sign(ASN1_ITEM_rptr(OCSP_RESPDATA),o->signatureAlgorithm,NULL,\
396 a->optionalSignature->signatureAlgorithm,\
400 a->signatureAlgorithm,a->signature,a->tbsResponseData,r)
Docsp_asn.c63 ASN1_SIMPLE(OCSP_SIGNATURE, signatureAlgorithm, X509_ALGOR),
162 ASN1_SIMPLE(OCSP_BASICRESP, signatureAlgorithm, X509_ALGOR),
Docsp_prn.c169 X509_signature_print(bp, sig->signatureAlgorithm, sig->signature); in OCSP_REQUEST_print()
277 if(X509_signature_print(bp, br->signatureAlgorithm, br->signature) <= 0) in OCSP_RESPONSE_print()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/
DDefaultSignatureAlgorithmIdentifierFinder.java170 private static AlgorithmIdentifier generate(String signatureAlgorithm) in generate() argument
176 String algorithmName = Strings.toUpperCase(signatureAlgorithm); in generate()
/external/chromium_org/crypto/third_party/nss/
Dsecsign.cc115 rv = SECOID_SetAlgorithmID(arena, &sd.signatureAlgorithm, algo_id, 0); in DerSignData()
/external/chromium_org/net/cert/
Dsha256_legacy_support_win.cc138 SECOID_GetAlgorithmTag(&signed_data.signatureAlgorithm); in CryptVerifyCertificateSignatureExHook()
Dx509_util_nss_unittest.cc57 &sd.signatureAlgorithm, in VerifyCertificateSignature()
/external/openssl/crypto/cms/
Dcms_lcl.h137 X509_ALGOR *signatureAlgorithm; member
Dcms_asn1.c109 ASN1_SIMPLE(CMS_SignerInfo, signatureAlgorithm, X509_ALGOR),
Dcms_sd.c616 *psig = si->signatureAlgorithm; in CMS_SignerInfo_get0_algs()
/external/chromium_org/chrome/common/net/
Dx509_certificate_model_nss.cc290 &cert_handle->signatureWrap.signatureAlgorithm); in ProcessSecAlgorithmSignatureWrap()
/external/bouncycastle/patches/
Dbcpkix.patch620 public AlgorithmIdentifier findEncryptionAlgorithm(AlgorithmIdentifier signatureAlgorithm)
838 private static AlgorithmIdentifier generate(String signatureAlgorithm)