Home
last modified time | relevance | path

Searched refs:trustAnchor (Results 1 – 11 of 11) 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DPrincipalUtils.java16 static X500Name getCA(TrustAnchor trustAnchor) in getCA() argument
18 return getX500Name(notNull(trustAnchor).getCA()); in getCA()
97 private static TrustAnchor notNull(TrustAnchor trustAnchor) in notNull() argument
99 if (null == trustAnchor) in notNull()
103 return trustAnchor; in notNull()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DPrincipalUtils.java17 static X500Name getCA(TrustAnchor trustAnchor) in getCA() argument
19 return getX500Name(notNull(trustAnchor).getCA()); in getCA()
98 private static TrustAnchor notNull(TrustAnchor trustAnchor) in notNull() argument
100 if (null == trustAnchor) in notNull()
104 return trustAnchor; in notNull()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DPrincipalUtils.java17 static X500Name getCA(TrustAnchor trustAnchor) in getCA() argument
19 return getX500Name(notNull(trustAnchor).getCA()); in getCA()
98 private static TrustAnchor notNull(TrustAnchor trustAnchor) in notNull() argument
100 if (null == trustAnchor) in notNull()
104 return trustAnchor; in notNull()
/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/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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/
DPKIXExtendedParameters.java162 public Builder setTrustAnchor(TrustAnchor trustAnchor) in setTrustAnchor() argument
164 this.trustAnchors = Collections.singleton(trustAnchor); in setTrustAnchor()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
DPKIXExtendedParameters.java159 public Builder setTrustAnchor(TrustAnchor trustAnchor) in setTrustAnchor() argument
161 this.trustAnchors = Collections.singleton(trustAnchor); in setTrustAnchor()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/
DPKIXExtendedParameters.java162 public Builder setTrustAnchor(TrustAnchor trustAnchor) in setTrustAnchor() argument
164 this.trustAnchors = Collections.singleton(trustAnchor); in setTrustAnchor()
/external/conscrypt/common/src/main/java/org/conscrypt/
DTrustManagerImpl.java937 TrustAnchor trustAnchor = trustedCertificateIndex.findBySubjectAndPublicKey(cert); in findTrustAnchorBySubjectAndPublicKey() local
938 if (trustAnchor != null) { in findTrustAnchorBySubjectAndPublicKey()
939 return trustAnchor; in findTrustAnchorBySubjectAndPublicKey()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DTrustManagerImpl.java951 TrustAnchor trustAnchor = trustedCertificateIndex.findBySubjectAndPublicKey(cert); in findTrustAnchorBySubjectAndPublicKey() local
952 if (trustAnchor != null) { in findTrustAnchorBySubjectAndPublicKey()
953 return trustAnchor; in findTrustAnchorBySubjectAndPublicKey()