/external/nist-pkits/src/libcore/java/security/cert/ |
D | X509CertificateNistPkitsTest.java | 170 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/ |
D | PrincipalUtils.java | 16 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/ |
D | PrincipalUtils.java | 17 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/ |
D | PrincipalUtils.java | 17 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/ |
D | AndroidTrustRootIndex.java | 41 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/ |
D | AndroidTrustRootIndex.java | 43 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/ |
D | PKIXExtendedParameters.java | 162 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/ |
D | PKIXExtendedParameters.java | 159 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/ |
D | PKIXExtendedParameters.java | 162 public Builder setTrustAnchor(TrustAnchor trustAnchor) in setTrustAnchor() argument 164 this.trustAnchors = Collections.singleton(trustAnchor); in setTrustAnchor()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | TrustManagerImpl.java | 937 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/ |
D | TrustManagerImpl.java | 951 TrustAnchor trustAnchor = trustedCertificateIndex.findBySubjectAndPublicKey(cert); in findTrustAnchorBySubjectAndPublicKey() local 952 if (trustAnchor != null) { in findTrustAnchorBySubjectAndPublicKey() 953 return trustAnchor; in findTrustAnchorBySubjectAndPublicKey()
|