/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/ |
D | Signature.java | 16 AlgorithmIdentifier signatureAlgorithm; field in Signature 21 AlgorithmIdentifier signatureAlgorithm, in Signature() argument 24 this.signatureAlgorithm = signatureAlgorithm; in Signature() 29 AlgorithmIdentifier signatureAlgorithm, in Signature() argument 33 this.signatureAlgorithm = signatureAlgorithm; in Signature() 41 signatureAlgorithm = AlgorithmIdentifier.getInstance(seq.getObjectAt(0)); in Signature() 75 return signatureAlgorithm; in getSignatureAlgorithm() 101 v.add(signatureAlgorithm); in toASN1Primitive()
|
D | BasicOCSPResponse.java | 17 private AlgorithmIdentifier signatureAlgorithm; field in BasicOCSPResponse 23 AlgorithmIdentifier signatureAlgorithm, in BasicOCSPResponse() argument 28 this.signatureAlgorithm = signatureAlgorithm; in BasicOCSPResponse() 37 this.signatureAlgorithm = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in BasicOCSPResponse() 75 return signatureAlgorithm; in getSignatureAlgorithm() 103 v.add(signatureAlgorithm); in toASN1Primitive()
|
/external/conscrypt/platform/src/main/java/org/conscrypt/ct/ |
D | DigitallySigned.java | 66 private final SignatureAlgorithm signatureAlgorithm; field in DigitallySigned 70 SignatureAlgorithm signatureAlgorithm, in DigitallySigned() argument 73 this.signatureAlgorithm = signatureAlgorithm; in DigitallySigned() 78 int signatureAlgorithm, in DigitallySigned() argument 82 SignatureAlgorithm.valueOf(signatureAlgorithm), in DigitallySigned() 91 return signatureAlgorithm; in getSignatureAlgorithm() 102 return String.format("%swith%s", hashAlgorithm, signatureAlgorithm); in getAlgorithm()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
D | CMSAlgorithmProtection.java | 34 private final AlgorithmIdentifier signatureAlgorithm; field in CMSAlgorithmProtection 48 this.signatureAlgorithm = algorithmIdentifier; in CMSAlgorithmProtection() 53 this.signatureAlgorithm = null; in CMSAlgorithmProtection() 74 this.signatureAlgorithm = AlgorithmIdentifier.getInstance(tagged, false); in CMSAlgorithmProtection() 79 this.signatureAlgorithm = null; in CMSAlgorithmProtection() 117 return signatureAlgorithm; in getSignatureAlgorithm() 125 if (signatureAlgorithm != null) in toASN1Primitive() 127 v.add(new DERTaggedObject(false, 1, signatureAlgorithm)); in toASN1Primitive()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | AttributeCertificate.java | 14 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/boringssl/src/ssl/test/runner/ |
D | common.go | 184 type signatureAlgorithm uint16 type 188 signatureRSAPKCS1WithMD5 signatureAlgorithm = 0x0101 189 signatureRSAPKCS1WithSHA1 signatureAlgorithm = 0x0201 190 signatureRSAPKCS1WithSHA256 signatureAlgorithm = 0x0401 191 signatureRSAPKCS1WithSHA384 signatureAlgorithm = 0x0501 192 signatureRSAPKCS1WithSHA512 signatureAlgorithm = 0x0601 195 signatureECDSAWithSHA1 signatureAlgorithm = 0x0203 196 signatureECDSAWithP256AndSHA256 signatureAlgorithm = 0x0403 197 signatureECDSAWithP384AndSHA384 signatureAlgorithm = 0x0503 198 signatureECDSAWithP521AndSHA512 signatureAlgorithm = 0x0603 [all …]
|
D | sign.go | 30 …16, key crypto.PrivateKey, config *Config, peerSigAlgs []signatureAlgorithm) (signatureAlgorithm, … argument 35 peerSigAlgs = []signatureAlgorithm{signatureRSAPKCS1WithSHA1, signatureECDSAWithSHA1} 55 func signMessage(version uint16, key crypto.PrivateKey, config *Config, sigAlg signatureAlgorithm, … argument 71 func verifyMessage(version uint16, key crypto.PublicKey, config *Config, sigAlg signatureAlgorithm,… argument 276 func getSigner(version uint16, key interface{}, config *Config, sigAlg signatureAlgorithm, isVerify… argument
|
D | key_agreement.go | 64 var sigAlg signatureAlgorithm 182 func (ka *rsaKeyAgreement) peerSignatureAlgorithm() signatureAlgorithm { 328 peerSignatureAlgorithm signatureAlgorithm 338 var sigAlg signatureAlgorithm 404 var sigAlg signatureAlgorithm 409 sigAlg = signatureAlgorithm(sig[0])<<8 | signatureAlgorithm(sig[1]) 540 func (ka *ecdheKeyAgreement) peerSignatureAlgorithm() signatureAlgorithm { 582 func (ka *nilKeyAgreement) peerSignatureAlgorithm() signatureAlgorithm { 712 func (ka *pskKeyAgreement) peerSignatureAlgorithm() signatureAlgorithm {
|
D | handshake_messages.go | 162 signatureAlgorithms []signatureAlgorithm 739 m.signatureAlgorithms = make([]signatureAlgorithm, n) 741 m.signatureAlgorithms[i] = signatureAlgorithm(d[0])<<8 | signatureAlgorithm(d[1]) 1858 signatureAlgorithms []signatureAlgorithm 1941 m.signatureAlgorithms = make([]signatureAlgorithm, numSigAlgs) 1943 m.signatureAlgorithms[i] = signatureAlgorithm(data[0])<<8 | signatureAlgorithm(data[1]) 1998 signatureAlgorithm signatureAlgorithm member 2020 y[0] = byte(m.signatureAlgorithm >> 8) 2021 y[1] = byte(m.signatureAlgorithm) 2047 m.signatureAlgorithm = signatureAlgorithm(data[0])<<8 | signatureAlgorithm(data[1]) [all …]
|
D | runner.go | 360 expectedPeerSignatureAlgorithm signatureAlgorithm 7520 id signatureAlgorithm 7544 const fakeSigAlg1 signatureAlgorithm = 0x2a01 7545 const fakeSigAlg2 signatureAlgorithm = 0xff01 7558 var allAlgorithms []signatureAlgorithm 7617 VerifySignatureAlgorithms: []signatureAlgorithm{ 7641 SignSignatureAlgorithms: []signatureAlgorithm{ 7673 VerifySignatureAlgorithms: []signatureAlgorithm{ 7698 SignSignatureAlgorithms: []signatureAlgorithm{ 7728 SignSignatureAlgorithms: []signatureAlgorithm{ [all …]
|
D | handshake_client.go | 843 c.peerSignatureAlgorithm = certVerifyMsg.signatureAlgorithm 845 …age(c.vers, getCertificatePublicKey(leaf), c.config, certVerifyMsg.signatureAlgorithm, input, cert… 954 …certVerify.signatureAlgorithm, err = selectSignatureAlgorithm(c.vers, privKey, c.config, certReq.s… 961 …certVerify.signature, err = signMessage(c.vers, privKey, c.config, certVerify.signatureAlgorithm, … 967 certVerify.signatureAlgorithm = c.config.Bugs.SendSignatureAlgorithm 1165 …certVerify.signatureAlgorithm, err = selectSignatureAlgorithm(c.vers, privKey, c.config, certReq.s… 1173 …certVerify.signature, err = signMessage(c.vers, privKey, c.config, certVerify.signatureAlgorithm, … 1175 certVerify.signatureAlgorithm = c.config.Bugs.SendSignatureAlgorithm
|
D | handshake_server.go | 849 …certVerify.signatureAlgorithm, err = selectSignatureAlgorithm(c.vers, privKey, config, hs.clientHe… 856 …certVerify.signature, err = signMessage(c.vers, privKey, c.config, certVerify.signatureAlgorithm, … 863 certVerify.signatureAlgorithm = config.Bugs.SendSignatureAlgorithm 990 c.peerSignatureAlgorithm = certVerify.signatureAlgorithm 992 …if err := verifyMessage(c.vers, pub, config, certVerify.signatureAlgorithm, input, certVerify.sign… 1640 var sigAlg signatureAlgorithm 1642 sigAlg = certVerify.signatureAlgorithm
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
D | X509V1CertificateGenerator.java | 50 private String signatureAlgorithm; field in X509V1CertificateGenerator 163 String signatureAlgorithm) in setSignatureAlgorithm() argument 165 this.signatureAlgorithm = signatureAlgorithm; in setSignatureAlgorithm() 169 sigOID = X509Util.getAlgorithmOID(signatureAlgorithm); in setSignatureAlgorithm() 176 sigAlgId = X509Util.getSigAlgID(sigOID, signatureAlgorithm); in setSignatureAlgorithm() 301 … signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, key, random, tbsCert); in generate() 340 …signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, provider, key, random, tbsCert… in generate()
|
D | X509V3CertificateGenerator.java | 56 private String signatureAlgorithm; field in X509V3CertificateGenerator 174 String signatureAlgorithm) in setSignatureAlgorithm() argument 176 this.signatureAlgorithm = signatureAlgorithm; in setSignatureAlgorithm() 180 sigOID = X509Util.getAlgorithmOID(signatureAlgorithm); in setSignatureAlgorithm() 184 … throw new IllegalArgumentException("Unknown signature type requested: " + signatureAlgorithm); in setSignatureAlgorithm() 187 sigAlgId = X509Util.getSigAlgID(sigOID, signatureAlgorithm); in setSignatureAlgorithm() 440 … signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, key, random, tbsCert); in generate() 485 …signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, provider, key, random, tbsCert… in generate()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
D | JcaContentSignerBuilder.java | 26 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()
|
D | OperatorHelper.java | 313 String signatureAlgorithm = (String)oids.get(sigAlgId.getAlgorithm()); in createSignature() 315 sig = helper.createSignature(signatureAlgorithm); in createSignature()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
D | PKCS10CertificationRequest.java | 257 String signatureAlgorithm, in PKCS10CertificationRequest() argument 265 …this(signatureAlgorithm, subject, key, attributes, signingKey, BouncyCastleProvider.PROVIDER_NAME); in PKCS10CertificationRequest() 285 String signatureAlgorithm, in PKCS10CertificationRequest() argument 293 …this(signatureAlgorithm, convertName(subject), key, attributes, signingKey, BouncyCastleProvider.P… in PKCS10CertificationRequest() 300 String signatureAlgorithm, in PKCS10CertificationRequest() argument 309 this(signatureAlgorithm, convertName(subject), key, attributes, signingKey, provider); in PKCS10CertificationRequest() 316 String signatureAlgorithm, in PKCS10CertificationRequest() argument 325 String algorithmName = Strings.toUpperCase(signatureAlgorithm); in PKCS10CertificationRequest() 376 sig = Signature.getInstance(signatureAlgorithm); in PKCS10CertificationRequest() 380 sig = Signature.getInstance(signatureAlgorithm, provider); in PKCS10CertificationRequest() [all …]
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
D | DefaultCMSSignatureEncryptionAlgorithmFinder.java | 42 public AlgorithmIdentifier findEncryptionAlgorithm(AlgorithmIdentifier signatureAlgorithm) in findEncryptionAlgorithm() argument 45 if (RSA_PKCS1d5.contains(signatureAlgorithm.getAlgorithm())) in findEncryptionAlgorithm() 50 return signatureAlgorithm; in findEncryptionAlgorithm()
|
D | CMSSignatureEncryptionAlgorithmFinder.java | 16 AlgorithmIdentifier findEncryptionAlgorithm(AlgorithmIdentifier signatureAlgorithm); in findEncryptionAlgorithm() argument
|
/external/conscrypt/testing/src/main/java/libcore/java/security/ |
D | TestKeyStore.java | 689 String signatureAlgorithm; in createCertificate() local 691 signatureAlgorithm = "sha1WithRSA"; in createCertificate() 693 signatureAlgorithm = "sha1WithDSA"; in createCertificate() 695 signatureAlgorithm = "sha1WithECDSA"; in createCertificate() 697 signatureAlgorithm = "sha1WithRSA"; in createCertificate() 738 x509cg.build(new JcaContentSignerBuilder(signatureAlgorithm).build(privateKey)); in createCertificate() 776 public static String signatureAlgorithm(String algorithm) { in signatureAlgorithm() method in TestKeyStore 802 public PrivateKeyEntry getPrivateKey(String keyAlgorithm, String signatureAlgorithm) { in getPrivateKey() argument 803 return privateKey(keyStore, keyPassword, keyAlgorithm, signatureAlgorithm); in getPrivateKey() 812 KeyStore keyStore, char[] keyPassword, String keyAlgorithm, String signatureAlgorithm) { in privateKey() argument [all …]
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/ |
D | DefaultSignatureAlgorithmIdentifierFinder.java | 199 private static AlgorithmIdentifier generate(String signatureAlgorithm) in generate() argument 205 String algorithmName = Strings.toUpperCase(signatureAlgorithm); in generate()
|
/external/curl/lib/ |
D | x509asn1.h | 104 curl_asn1Element signatureAlgorithm; member
|
D | x509asn1.c | 704 beg = Curl_getASN1Element(&cert->signatureAlgorithm, beg, end); in Curl_parseX509() 722 beg = Curl_getASN1Element(&cert->signatureAlgorithm, beg, end); in Curl_parseX509() 949 ccp = dumpAlgo(¶m, cert.signatureAlgorithm.beg, in Curl_extract_certinfo() 950 cert.signatureAlgorithm.end); in Curl_extract_certinfo()
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl_ocsp.c | 164 X509_ALGOR *signatureAlgorithm; member 212 ASN1_SIMPLE(BasicOCSPResponse, signatureAlgorithm, X509_ALGOR), 634 basic->signatureAlgorithm, basic->signature, in check_ocsp_resp()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/ |
D | KeyManagerFactoryTest.java | 261 assertTrue(sigAlgName.contains(TestKeyStore.signatureAlgorithm(keyType))); in test_X509KeyManager_alias()
|