Home
last modified time | relevance | path

Searched refs:getSignatureAlgorithm (Results 1 – 25 of 53) sorted by relevance

123

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
DBasicOCSPResp.java72 return resp.getSignatureAlgorithm(); in getSignatureAlgorithmID()
136 return resp.getSignatureAlgorithm().getAlgorithm(); in getSignatureAlgOID()
182 ContentVerifier verifier = verifierProvider.get(resp.getSignatureAlgorithm()); in isSignatureValid()
DOCSPReq.java167 return req.getOptionalSignature().getSignatureAlgorithm().getAlgorithm(); in getSignatureAlgOID()
233 …ontentVerifier verifier = verifierProvider.get(req.getOptionalSignature().getSignatureAlgorithm()); in isSignatureValid()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DX509CertificateHolder.java240 public AlgorithmIdentifier getSignatureAlgorithm() in getSignatureAlgorithm() method in X509CertificateHolder
242 return x509Certificate.getSignatureAlgorithm(); in getSignatureAlgorithm()
278 … if (!CertUtils.isAlgIdEqual(tbsCert.getSignature(), x509Certificate.getSignatureAlgorithm())) in isSignatureValid()
DX509AttributeCertificateHolder.java279 public AlgorithmIdentifier getSignatureAlgorithm() in getSignatureAlgorithm() method in X509AttributeCertificateHolder
281 return attrCert.getSignatureAlgorithm(); in getSignatureAlgorithm()
329 if (!CertUtils.isAlgIdEqual(acinfo.getSignature(), attrCert.getSignatureAlgorithm())) in isSignatureValid()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateImpl.java219 return c.getSignatureAlgorithm().getAlgorithm().getId(); in getSigAlgOID()
645 …instanceof CompositePublicKey && X509SignatureUtil.isCompositeAlgorithm(c.getSignatureAlgorithm())) in doVerify()
648 … ASN1Sequence keySeq = ASN1Sequence.getInstance(c.getSignatureAlgorithm().getParameters()); in doVerify()
689 else if (X509SignatureUtil.isCompositeAlgorithm(c.getSignatureAlgorithm())) in doVerify()
691 … ASN1Sequence keySeq = ASN1Sequence.getInstance(c.getSignatureAlgorithm().getParameters()); in doVerify()
739 String sigName = X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in doVerify()
752 c.getSignatureAlgorithm().getParameters(), this.getSignature()); in doVerify()
766 c.getSignatureAlgorithm().getParameters(), this.getSignature()); in doVerify()
779 if (!isAlgIdEqual(c.getSignatureAlgorithm(), c.getTBSCertificate().getSignature())) in checkSignature()
DX509CRLObject.java106 return X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in createSigAlgName()
118 ASN1Encodable parameters = c.getSignatureAlgorithm().getParameters(); in createSigAlgParams()
DX509CRLImpl.java249 if (!c.getSignatureAlgorithm().equals(c.getTBSCertList().getSignature())) in doVerify()
254 …instanceof CompositePublicKey && X509SignatureUtil.isCompositeAlgorithm(c.getSignatureAlgorithm())) in doVerify()
257 … ASN1Sequence keySeq = ASN1Sequence.getInstance(c.getSignatureAlgorithm().getParameters()); in doVerify()
299 else if (X509SignatureUtil.isCompositeAlgorithm(c.getSignatureAlgorithm())) in doVerify()
301 … ASN1Sequence keySeq = ASN1Sequence.getInstance(c.getSignatureAlgorithm().getParameters()); in doVerify()
523 return c.getSignatureAlgorithm().getAlgorithm().getId(); in getSigAlgOID()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509CertificateObject.java266 return c.getSignatureAlgorithm().getAlgorithm().getId(); in getSigAlgOID()
274 if (c.getSignatureAlgorithm().getParameters() != null) in getSigAlgParams()
278 … return c.getSignatureAlgorithm().getParameters().toASN1Primitive().getEncoded(ASN1Encoding.DER); in getSigAlgParams()
752 String sigName = X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in verify()
772 String sigName = X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in verify()
793 String sigName = X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in verify()
814 if (!isAlgIdEqual(c.getSignatureAlgorithm(), c.getTBSCertificate().getSignature())) in checkSignature()
819 ASN1Encodable params = c.getSignatureAlgorithm().getParameters(); in checkSignature()
DX509CRLObject.java92 this.sigAlgName = X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in X509CRLObject()
94 if (c.getSignatureAlgorithm().getParameters() != null) in X509CRLObject()
96 …this.sigAlgParams = ((ASN1Encodable)c.getSignatureAlgorithm().getParameters()).toASN1Primitive().g… in X509CRLObject()
264 if (!c.getSignatureAlgorithm().equals(c.getTBSCertList().getSignature())) in doVerify()
405 return c.getSignatureAlgorithm().getAlgorithm().getId(); in getSigAlgOID()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateImpl.java220 return c.getSignatureAlgorithm().getAlgorithm().getId(); in getSigAlgOID()
646 …instanceof CompositePublicKey && X509SignatureUtil.isCompositeAlgorithm(c.getSignatureAlgorithm())) in doVerify()
649 … ASN1Sequence keySeq = ASN1Sequence.getInstance(c.getSignatureAlgorithm().getParameters()); in doVerify()
690 else if (X509SignatureUtil.isCompositeAlgorithm(c.getSignatureAlgorithm())) in doVerify()
692 … ASN1Sequence keySeq = ASN1Sequence.getInstance(c.getSignatureAlgorithm().getParameters()); in doVerify()
740 String sigName = X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in doVerify()
753 c.getSignatureAlgorithm().getParameters(), this.getSignature()); in doVerify()
767 c.getSignatureAlgorithm().getParameters(), this.getSignature()); in doVerify()
780 if (!isAlgIdEqual(c.getSignatureAlgorithm(), c.getTBSCertificate().getSignature())) in checkSignature()
DX509CRLObject.java107 return X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in createSigAlgName()
119 ASN1Encodable parameters = c.getSignatureAlgorithm().getParameters(); in createSigAlgParams()
DX509CRLImpl.java250 if (!c.getSignatureAlgorithm().equals(c.getTBSCertList().getSignature())) in doVerify()
255 …instanceof CompositePublicKey && X509SignatureUtil.isCompositeAlgorithm(c.getSignatureAlgorithm())) in doVerify()
258 … ASN1Sequence keySeq = ASN1Sequence.getInstance(c.getSignatureAlgorithm().getParameters()); in doVerify()
300 else if (X509SignatureUtil.isCompositeAlgorithm(c.getSignatureAlgorithm())) in doVerify()
302 … ASN1Sequence keySeq = ASN1Sequence.getInstance(c.getSignatureAlgorithm().getParameters()); in doVerify()
524 return c.getSignatureAlgorithm().getAlgorithm().getId(); in getSigAlgOID()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509CertificateImpl.java220 return c.getSignatureAlgorithm().getAlgorithm().getId(); in getSigAlgOID()
646 …instanceof CompositePublicKey && X509SignatureUtil.isCompositeAlgorithm(c.getSignatureAlgorithm())) in doVerify()
649 … ASN1Sequence keySeq = ASN1Sequence.getInstance(c.getSignatureAlgorithm().getParameters()); in doVerify()
690 else if (X509SignatureUtil.isCompositeAlgorithm(c.getSignatureAlgorithm())) in doVerify()
692 … ASN1Sequence keySeq = ASN1Sequence.getInstance(c.getSignatureAlgorithm().getParameters()); in doVerify()
740 String sigName = X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in doVerify()
753 c.getSignatureAlgorithm().getParameters(), this.getSignature()); in doVerify()
767 c.getSignatureAlgorithm().getParameters(), this.getSignature()); in doVerify()
780 if (!isAlgIdEqual(c.getSignatureAlgorithm(), c.getTBSCertificate().getSignature())) in checkSignature()
DX509CRLObject.java107 return X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in createSigAlgName()
119 ASN1Encodable parameters = c.getSignatureAlgorithm().getParameters(); in createSigAlgParams()
DX509CRLImpl.java250 if (!c.getSignatureAlgorithm().equals(c.getTBSCertList().getSignature())) in doVerify()
255 …instanceof CompositePublicKey && X509SignatureUtil.isCompositeAlgorithm(c.getSignatureAlgorithm())) in doVerify()
258 … ASN1Sequence keySeq = ASN1Sequence.getInstance(c.getSignatureAlgorithm().getParameters()); in doVerify()
300 else if (X509SignatureUtil.isCompositeAlgorithm(c.getSignatureAlgorithm())) in doVerify()
302 … ASN1Sequence keySeq = ASN1Sequence.getInstance(c.getSignatureAlgorithm().getParameters()); in doVerify()
524 return c.getSignatureAlgorithm().getAlgorithm().getId(); in getSigAlgOID()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DX509CertificateObject.java268 return c.getSignatureAlgorithm().getAlgorithm().getId(); in getSigAlgOID()
276 if (c.getSignatureAlgorithm().getParameters() != null) in getSigAlgParams()
280 … return c.getSignatureAlgorithm().getParameters().toASN1Primitive().getEncoded(ASN1Encoding.DER); in getSigAlgParams()
754 String sigName = X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in verify()
774 String sigName = X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in verify()
795 String sigName = X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in verify()
816 if (!isAlgIdEqual(c.getSignatureAlgorithm(), c.getTBSCertificate().getSignature())) in checkSignature()
821 ASN1Encodable params = c.getSignatureAlgorithm().getParameters(); in checkSignature()
DX509CRLObject.java94 this.sigAlgName = X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in X509CRLObject()
96 if (c.getSignatureAlgorithm().getParameters() != null) in X509CRLObject()
98 …this.sigAlgParams = ((ASN1Encodable)c.getSignatureAlgorithm().getParameters()).toASN1Primitive().g… in X509CRLObject()
266 if (!c.getSignatureAlgorithm().equals(c.getTBSCertList().getSignature())) in doVerify()
407 return c.getSignatureAlgorithm().getAlgorithm().getId(); in getSigAlgOID()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DX509CertificateObject.java269 return c.getSignatureAlgorithm().getAlgorithm().getId(); in getSigAlgOID()
277 if (c.getSignatureAlgorithm().getParameters() != null) in getSigAlgParams()
281 … return c.getSignatureAlgorithm().getParameters().toASN1Primitive().getEncoded(ASN1Encoding.DER); in getSigAlgParams()
755 String sigName = X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in verify()
775 String sigName = X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in verify()
796 String sigName = X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in verify()
817 if (!isAlgIdEqual(c.getSignatureAlgorithm(), c.getTBSCertificate().getSignature())) in checkSignature()
822 ASN1Encodable params = c.getSignatureAlgorithm().getParameters(); in checkSignature()
DX509CRLObject.java94 this.sigAlgName = X509SignatureUtil.getSignatureName(c.getSignatureAlgorithm()); in X509CRLObject()
96 if (c.getSignatureAlgorithm().getParameters() != null) in X509CRLObject()
98 …this.sigAlgParams = ((ASN1Encodable)c.getSignatureAlgorithm().getParameters()).toASN1Primitive().g… in X509CRLObject()
266 if (!c.getSignatureAlgorithm().equals(c.getTBSCertList().getSignature())) in doVerify()
407 return c.getSignatureAlgorithm().getAlgorithm().getId(); in getSigAlgOID()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/ct/
DSerializationTest.java59 sct.getSignature().getSignatureAlgorithm()); in test_decode_SignedCertificateTimestamp()
108 assertEquals(DigitallySigned.SignatureAlgorithm.ECDSA, dst.getSignatureAlgorithm()); in test_decode_DigitallySigned()
/external/conscrypt/common/src/test/java/org/conscrypt/ct/
DSerializationTest.java55 sct.getSignature().getSignatureAlgorithm()); in test_decode_SignedCertificateTimestamp()
104 assertEquals(DigitallySigned.SignatureAlgorithm.ECDSA, dst.getSignatureAlgorithm()); in test_decode_DigitallySigned()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509V2AttributeCertificate.java178 if (!cert.getSignatureAlgorithm().equals(cert.getAcinfo().getSignature())) in verify()
183 … signature = Signature.getInstance(cert.getSignatureAlgorithm().getAlgorithm().getId(), provider); in verify()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DAttributeCertificate.java67 public AlgorithmIdentifier getSignatureAlgorithm() in getSignatureAlgorithm() method in AttributeCertificate
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DCertificationRequest.java73 public AlgorithmIdentifier getSignatureAlgorithm() in getSignatureAlgorithm() method in CertificationRequest
/external/conscrypt/common/src/main/java/org/conscrypt/ct/
DDigitallySigned.java88 public SignatureAlgorithm getSignatureAlgorithm() { in getSignatureAlgorithm() method in DigitallySigned

123