Home
last modified time | relevance | path

Searched refs:trustAnchor (Results 1 – 9 of 9) sorted by relevance

/external/nist-pkits/src/libcore/java/security/cert/
DX509CertificateNistPkitsTest.java170 private void assertInvalidPath(String trustAnchor, String[] certs, String[] crls) in assertInvalidPath() argument
172 assertInvalidPath(trustAnchor, certs, certs, crls); in assertInvalidPath()
175 private void assertInvalidPath(String trustAnchor, String[] path, String[] certs, in assertInvalidPath() argument
180 PKIXParameters params = getTestPathParams(f, trustAnchor, certs, crls); in assertInvalidPath()
192 private void assertValidPath(String trustAnchor, String[] certs, String[] crls) in assertValidPath() argument
195 assertValidPath(trustAnchor, certs, certs, crls); in assertValidPath()
198 private void assertValidPath(String trustAnchor, String[] path, String[] certs, String[] crls) in assertValidPath() argument
203 PKIXParameters params = getTestPathParams(f, trustAnchor, certs, crls); in assertValidPath()
214 String trustAnchor = "TrustAnchorRootCertificate.crt"; in testSignatureVerification_ValidSignaturesTest1() local
226 assertValidPath(trustAnchor, certs, crls); in testSignatureVerification_ValidSignaturesTest1()
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/
DAndroidTrustRootIndex.java43 TrustAnchor trustAnchor = (TrustAnchor) findByIssuerAndSignatureMethod.invoke( in findByIssuerAndSignature() local
45 return trustAnchor != null in findByIssuerAndSignature()
46 ? trustAnchor.getTrustedCert() in findByIssuerAndSignature()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DAndroidTrustRootIndex.java41 TrustAnchor trustAnchor = (TrustAnchor) findByIssuerAndSignatureMethod.invoke( in findByIssuerAndSignature() local
43 return trustAnchor != null in findByIssuerAndSignature()
44 ? trustAnchor.getTrustedCert() in findByIssuerAndSignature()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DPrincipalUtils.java31 static X500Name getCA(TrustAnchor trustAnchor) in getCA() argument
33 return X500Name.getInstance(trustAnchor.getCA().getEncoded()); in getCA()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DPrincipalUtils.java30 static X500Name getCA(TrustAnchor trustAnchor) in getCA() argument
32 return X500Name.getInstance(trustAnchor.getCA().getEncoded()); in getCA()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
DPKIXExtendedParameters.java161 public Builder setTrustAnchor(TrustAnchor trustAnchor) in setTrustAnchor() argument
163 this.trustAnchors = Collections.singleton(trustAnchor); in setTrustAnchor()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/
DPKIXExtendedParameters.java164 public Builder setTrustAnchor(TrustAnchor trustAnchor) in setTrustAnchor() argument
166 this.trustAnchors = Collections.singleton(trustAnchor); in setTrustAnchor()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DTrustManagerImpl.java953 TrustAnchor trustAnchor = trustedCertificateIndex.findBySubjectAndPublicKey(cert); in findTrustAnchorBySubjectAndPublicKey() local
954 if (trustAnchor != null) { in findTrustAnchorBySubjectAndPublicKey()
955 return trustAnchor; in findTrustAnchorBySubjectAndPublicKey()
/external/conscrypt/common/src/main/java/org/conscrypt/
DTrustManagerImpl.java939 TrustAnchor trustAnchor = trustedCertificateIndex.findBySubjectAndPublicKey(cert); in findTrustAnchorBySubjectAndPublicKey() local
940 if (trustAnchor != null) { in findTrustAnchorBySubjectAndPublicKey()
941 return trustAnchor; in findTrustAnchorBySubjectAndPublicKey()