Home
last modified time | relevance | path

Searched refs:sigAlg (Results 1 – 13 of 13) sorted by relevance

/external/boringssl/src/ssl/test/runner/
Dsign.go38 for _, sigAlg := range config.signSignatureAlgorithms() {
39 if !isSupportedSignatureAlgorithm(sigAlg, peerSigAlgs) {
43 signer, err := getSigner(version, key, config, sigAlg, false)
49 return sigAlg, nil
55 func signMessage(version uint16, key crypto.PrivateKey, config *Config, sigAlg signatureAlgorithm, …
63 signer, err := getSigner(version, key, config, sigAlg, false)
71 func verifyMessage(version uint16, key crypto.PublicKey, config *Config, sigAlg signatureAlgorithm,…
72 …if version >= VersionTLS12 && !isSupportedSignatureAlgorithm(sigAlg, config.verifySignatureAlgorit…
76 signer, err := getSigner(version, key, config, sigAlg, true)
276 func getSigner(version uint16, key interface{}, config *Config, sigAlg signatureAlgorithm, isVerify…
[all …]
Dkey_agreement.go66 var sigAlg signatureAlgorithm
68sigAlg, err = selectSignatureAlgorithm(ka.version, cert.PrivateKey, config, clientHello.signatureA…
74 sig, err := signMessage(ka.version, cert.PrivateKey, config, sigAlg, serverRSAParams)
88 k[0] = byte(sigAlg >> 8)
89 k[1] = byte(sigAlg)
492 var sigAlg signatureAlgorithm
495sigAlg, err = selectSignatureAlgorithm(ka.version, cert.PrivateKey, config, clientHello.signatureA…
501 sig, err := signMessage(ka.version, cert.PrivateKey, config, sigAlg, msg)
506 sigAlg = config.Bugs.SendSignatureAlgorithm
521 k[0] = byte(sigAlg >> 8)
[all …]
Dcommon.go2054 func isSupportedSignatureAlgorithm(sigAlg signatureAlgorithm, sigAlgs []signatureAlgorithm) bool {
2056 if s == sigAlg {
2094 for _, sigAlg := range sigAlgs {
2095 …if sigAlg == signatureRSAPSSWithSHA256 || sigAlg == signatureRSAPSSWithSHA384 || sigAlg == signatu…
2100 for _, sigAlg := range sigAlgsCert {
2101 …if sigAlg == signatureRSAPSSWithSHA256 || sigAlg == signatureRSAPSSWithSHA384 || sigAlg == signatu…
Dhandshake_messages.go501 for _, sigAlg := range m.signatureAlgorithms {
502 signatureAlgorithms.addU16(uint16(sigAlg))
509 for _, sigAlg := range m.signatureAlgorithmsCert {
510 signatureAlgorithmsCert.addU16(uint16(sigAlg))
2018 for _, sigAlg := range m.signatureAlgorithms {
2019 signatureAlgorithms.addU16(uint16(sigAlg))
2025 for _, sigAlg := range m.signatureAlgorithmsCert {
2026 signatureAlgorithmsCert.addU16(uint16(sigAlg))
2048 for _, sigAlg := range m.signatureAlgorithms {
2049 signatureAlgorithms.addU16(uint16(sigAlg))
Dhandshake_server.go1796 var sigAlg signatureAlgorithm
1798 sigAlg = certVerify.signatureAlgorithm
1799 c.peerSignatureAlgorithm = sigAlg
1803 err = verifyMessage(c.vers, pub, c.config, sigAlg, hs.finishedHash.buffer, certVerify.signature)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/netscape/
DNetscapeCertRequest.java48 AlgorithmIdentifier sigAlg; field in NetscapeCertRequest
89 sigAlg = AlgorithmIdentifier.getInstance(spkac.getObjectAt(1)); in NetscapeCertRequest()
136 sigAlg = signing_alg; in NetscapeCertRequest()
166 return sigAlg; in getSigningAlgorithm()
171 sigAlg = value; in setSigningAlgorithm()
206 Signature sig = Signature.getInstance(sigAlg.getAlgorithm().getId(), in verify()
226 Signature sig = Signature.getInstance(sigAlg.getAlgorithm().getId(), in sign()
296 spkac.add(sigAlg); in toASN1Primitive()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/netscape/
DNetscapeCertRequest.java50 AlgorithmIdentifier sigAlg; field in NetscapeCertRequest
91 sigAlg = AlgorithmIdentifier.getInstance(spkac.getObjectAt(1)); in NetscapeCertRequest()
138 sigAlg = signing_alg; in NetscapeCertRequest()
168 return sigAlg; in getSigningAlgorithm()
173 sigAlg = value; in setSigningAlgorithm()
208 Signature sig = Signature.getInstance(sigAlg.getAlgorithm().getId(), in verify()
228 Signature sig = Signature.getInstance(sigAlg.getAlgorithm().getId(), in sign()
298 spkac.add(sigAlg); in toASN1Primitive()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLX509CRL.java221 String sigAlg = getSigAlgName(); in verifyInternal() local
222 if (sigAlg == null) { in verifyInternal()
223 sigAlg = getSigAlgOID(); in verifyInternal()
228 sig = Signature.getInstance(sigAlg); in verifyInternal()
230 sig = Signature.getInstance(sigAlg, sigProvider); in verifyInternal()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLX509CRL.java220 String sigAlg = getSigAlgName(); in verifyInternal() local
221 if (sigAlg == null) { in verifyInternal()
222 sigAlg = getSigAlgOID(); in verifyInternal()
227 sig = Signature.getInstance(sigAlg); in verifyInternal()
229 sig = Signature.getInstance(sigAlg, sigProvider); in verifyInternal()
/external/scapy/scapy/layers/tls/
Dcert.py246 sigAlg = tbsCert.signature
247 h = hash_by_oid[sigAlg.algorithm.val]
420 sigAlg = tbsCert.signature
421 h = h or hash_by_oid[sigAlg.algorithm.val]
425 c.signatureAlgorithm = sigAlg
436 sigAlg = tbsCert.signature
437 h = hash_by_oid[sigAlg.algorithm.val]
573 self.sigAlg = tbsCert.signature.algorithm.oidname
767 self.sigAlg = tbsCertList.signature.algorithm.oidname
832 print("sigAlg: " + self.sigAlg)
/external/scapy/test/
Dcert.uts202 x.sigAlg == 'sha1_with_rsa_signature'
/external/owasp/sanitizer/tools/findbugs/lib/
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/jarjar/lib/
Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...