/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSSignatureEncryptionAlgorithmFinder.java | 12 * Return the encryption algorithm identifier associated with the passed in signatureAlgorithm 13 * @param signatureAlgorithm the algorithm identifier of the signature of interest 16 AlgorithmIdentifier findEncryptionAlgorithm(AlgorithmIdentifier signatureAlgorithm);
|
DefaultCMSSignatureEncryptionAlgorithmFinder.java | 44 public AlgorithmIdentifier findEncryptionAlgorithm(AlgorithmIdentifier signatureAlgorithm) 47 if (RSA_PKCS1d5.contains(signatureAlgorithm.getAlgorithm())) 52 return signatureAlgorithm;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
AttributeCertificate.java | 14 AlgorithmIdentifier signatureAlgorithm; 37 AlgorithmIdentifier signatureAlgorithm, 41 this.signatureAlgorithm = signatureAlgorithm; 55 this.signatureAlgorithm = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); 66 return signatureAlgorithm; 79 * signatureAlgorithm AlgorithmIdentifier, 89 v.add(signatureAlgorithm);
|
/libcore/benchmarks/src/benchmarks/regression/ |
SignatureBenchmark.java | 62 private String signatureAlgorithm; 68 this.signatureAlgorithm = algorithm.toString(); 70 String keyAlgorithm = signatureAlgorithm.substring(signatureAlgorithm.length() - 3 , 71 signatureAlgorithm.length()); 81 this.signature = SIGNATURES.get(signatureAlgorithm); 83 Signature signer = Signature.getInstance(signatureAlgorithm); 87 SIGNATURES.put(signatureAlgorithm, signature); 96 signer = Signature.getInstance(signatureAlgorithm, "AndroidOpenSSL"); 99 signer = Signature.getInstance(signatureAlgorithm, "BC") [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
Certificate.java | 43 * signatureAlgorithm AlgorithmIdentifier, 51 /** the value of signatureAlgorithm field of the structure */ 52 private final AlgorithmIdentifier signatureAlgorithm; 59 AlgorithmIdentifier signatureAlgorithm, 62 this.signatureAlgorithm = signatureAlgorithm; 69 AlgorithmIdentifier signatureAlgorithm, 71 this(tbsCertificate, signatureAlgorithm, signatureValue); 94 signatureAlgorithm.dumpValue(result); 131 values[1] = cert.signatureAlgorithm; [all...] |
CertificateList.java | 43 * signatureAlgorithm AlgorithmIdentifier, 51 /** the value of signatureAlgorithm field of the structure */ 52 private final AlgorithmIdentifier signatureAlgorithm; 59 AlgorithmIdentifier signatureAlgorithm, 62 this.signatureAlgorithm = signatureAlgorithm; 69 AlgorithmIdentifier signatureAlgorithm, 71 this(tbsCertList, signatureAlgorithm, signatureValue); 130 values[1] = certificateList.signatureAlgorithm;
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
JcaContentSignerBuilder.java | 26 private String signatureAlgorithm; 29 public JcaContentSignerBuilder(String signatureAlgorithm) 31 this.signatureAlgorithm = signatureAlgorithm; 32 this.sigAlgId = new DefaultSignatureAlgorithmIdentifierFinder().find(signatureAlgorithm);
|
OperatorHelper.java | 241 String signatureAlgorithm = (String)oids.get(sigAlgId.getAlgorithm()); 243 sig = helper.createSignature(signatureAlgorithm);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509V1CertificateGenerator.java | 48 private String signatureAlgorithm; 159 * @param signatureAlgorithm string representation of the algorithm name. 162 String signatureAlgorithm) 164 this.signatureAlgorithm = signatureAlgorithm; 168 sigOID = X509Util.getAlgorithmOID(signatureAlgorithm); 175 sigAlgId = X509Util.getSigAlgID(sigOID, signatureAlgorithm); 300 signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, key, random, tbsCert); 339 signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, provider, key, random, tbsCert);
|
X509V3CertificateGenerator.java | 50 private String signatureAlgorithm; 165 * @param signatureAlgorithm string representation of the algorithm name. 168 String signatureAlgorithm) 170 this.signatureAlgorithm = signatureAlgorithm; 174 sigOID = X509Util.getAlgorithmOID(signatureAlgorithm); 178 throw new IllegalArgumentException("Unknown signature type requested: " + signatureAlgorithm); 181 sigAlgId = X509Util.getSigAlgID(sigOID, signatureAlgorithm); 434 signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, key, random, tbsCert); 479 signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, provider, key, random, tbsCert) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
PKCS10CertificationRequest.java | 57 * signatureAlgorithm AlgorithmIdentifier{{ SignatureAlgorithms }}, 278 String signatureAlgorithm, 286 this(signatureAlgorithm, subject, key, attributes, signingKey, BouncyCastleProvider.PROVIDER_NAME); 306 String signatureAlgorithm, 314 this(signatureAlgorithm, convertName(subject), key, attributes, signingKey, BouncyCastleProvider.PROVIDER_NAME); 321 String signatureAlgorithm, 330 this(signatureAlgorithm, convertName(subject), key, attributes, signingKey, provider); 337 String signatureAlgorithm, 346 String algorithmName = Strings.toUpperCase(signatureAlgorithm); 397 sig = Signature.getInstance(signatureAlgorithm); [all...] |
/libcore/support/src/test/java/libcore/java/security/ |
TestKeyStore.java | 525 String signatureAlgorithm; 527 signatureAlgorithm = "sha1WithRSA"; 529 signatureAlgorithm = "sha1WithDSA"; 531 signatureAlgorithm = "sha1WithECDSA"; 533 signatureAlgorithm = "sha1WithRSA"; 544 x509cg.setSignatureAlgorithm(signatureAlgorithm); 625 public static String signatureAlgorithm(String algorithm) { 651 public PrivateKeyEntry getPrivateKey(String keyAlgorithm, String signatureAlgorithm) { 652 return privateKey(keyStore, keyPassword, keyAlgorithm, signatureAlgorithm); 661 String keyAlgorithm, String signatureAlgorithm) { [all...] |
/external/chromium_org/crypto/third_party/nss/ |
secsign.cc | 114 // Fill in signatureAlgorithm. 115 rv = SECOID_SetAlgorithmID(arena, &sd.signatureAlgorithm, algo_id, 0);
|
/external/chromium_org/third_party/openssl/openssl/crypto/ocsp/ |
ocsp_asn.c | 63 ASN1_SIMPLE(OCSP_SIGNATURE, signatureAlgorithm, X509_ALGOR), 162 ASN1_SIMPLE(OCSP_BASICRESP, signatureAlgorithm, X509_ALGOR),
|
ocsp.h | 138 * signatureAlgorithm AlgorithmIdentifier, 144 X509_ALGOR *signatureAlgorithm; 283 * signatureAlgorithm AlgorithmIdentifier, 306 X509_ALGOR *signatureAlgorithm; 381 o->optionalSignature->signatureAlgorithm,NULL,\ 385 ASN1_item_sign(ASN1_ITEM_rptr(OCSP_RESPDATA),o->signatureAlgorithm,NULL,\ 389 a->optionalSignature->signatureAlgorithm,\ 393 a->signatureAlgorithm,a->signature,a->tbsResponseData,r)
|
ocsp_prn.c | 169 X509_signature_print(bp, sig->signatureAlgorithm, sig->signature); 277 if(X509_signature_print(bp, br->signatureAlgorithm, br->signature) <= 0)
|
/external/openssl/crypto/ocsp/ |
ocsp_asn.c | 63 ASN1_SIMPLE(OCSP_SIGNATURE, signatureAlgorithm, X509_ALGOR), 162 ASN1_SIMPLE(OCSP_BASICRESP, signatureAlgorithm, X509_ALGOR),
|
ocsp.h | 138 * signatureAlgorithm AlgorithmIdentifier, 144 X509_ALGOR *signatureAlgorithm; 283 * signatureAlgorithm AlgorithmIdentifier, 306 X509_ALGOR *signatureAlgorithm; 381 o->optionalSignature->signatureAlgorithm,NULL,\ 385 ASN1_item_sign(ASN1_ITEM_rptr(OCSP_RESPDATA),o->signatureAlgorithm,NULL,\ 389 a->optionalSignature->signatureAlgorithm,\ 393 a->signatureAlgorithm,a->signature,a->tbsResponseData,r)
|
ocsp_prn.c | 169 X509_signature_print(bp, sig->signatureAlgorithm, sig->signature); 277 if(X509_signature_print(bp, br->signatureAlgorithm, br->signature) <= 0)
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
ocsp.h | 138 * signatureAlgorithm AlgorithmIdentifier, 144 X509_ALGOR *signatureAlgorithm; 283 * signatureAlgorithm AlgorithmIdentifier, 306 X509_ALGOR *signatureAlgorithm; 381 o->optionalSignature->signatureAlgorithm,NULL,\ 385 ASN1_item_sign(ASN1_ITEM_rptr(OCSP_RESPDATA),o->signatureAlgorithm,NULL,\ 389 a->optionalSignature->signatureAlgorithm,\ 393 a->signatureAlgorithm,a->signature,a->tbsResponseData,r)
|
/external/openssl/include/openssl/ |
ocsp.h | 138 * signatureAlgorithm AlgorithmIdentifier, 144 X509_ALGOR *signatureAlgorithm; 283 * signatureAlgorithm AlgorithmIdentifier, 306 X509_ALGOR *signatureAlgorithm; 381 o->optionalSignature->signatureAlgorithm,NULL,\ 385 ASN1_item_sign(ASN1_ITEM_rptr(OCSP_RESPDATA),o->signatureAlgorithm,NULL,\ 389 a->optionalSignature->signatureAlgorithm,\ 393 a->signatureAlgorithm,a->signature,a->tbsResponseData,r)
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/ |
DefaultSignatureAlgorithmIdentifierFinder.java | 188 private static AlgorithmIdentifier generate(String signatureAlgorithm) 194 String algorithmName = Strings.toUpperCase(signatureAlgorithm);
|
/external/chromium_org/net/cert/ |
x509_util_nss_unittest.cc | 52 // The CERTSignedData.signatureAlgorithm is decoded, but SignatureVerifier 57 &sd.signatureAlgorithm,
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
KeyManagerFactoryTest.java | 241 sigAlgName = TestKeyStore.signatureAlgorithm(keyType);
|
TrustManagerFactoryTest.java | 154 String sigAlgName = TestKeyStore.signatureAlgorithm(keyType);
|