Home
last modified time | relevance | path

Searched refs:getTrustedCert (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DAlgorithmChecker.java147 if (anchor.getTrustedCert() != null) { in AlgorithmChecker()
148 this.trustedPubKey = anchor.getTrustedCert().getPublicKey(); in AlgorithmChecker()
150 trustedMatch = checkFingerprint(anchor.getTrustedCert()); in AlgorithmChecker()
372 if (anchor.getTrustedCert() != null) { in trySetTrustAnchor()
373 prevPubKey = anchor.getTrustedCert().getPublicKey(); in trySetTrustAnchor()
375 trustedMatch = checkFingerprint(anchor.getTrustedCert()); in trySetTrustAnchor()
DSunCertPathBuilder.java325 if (builder.trustAnchor.getTrustedCert() == null) { in depthFirstSearchForward()
352 if (builder.trustAnchor.getTrustedCert() == null) { in depthFirstSearchForward()
491 if (builder.trustAnchor.getTrustedCert() == null) in depthFirstSearchForward()
504 finalCert = builder.trustAnchor.getTrustedCert(); in depthFirstSearchForward()
575 X509Certificate anchorCert = anchor.getTrustedCert(); in anchorIsTarget()
DBasicChecker.java83 if (anchor.getTrustedCert() != null) { in BasicChecker()
84 this.trustedPubKey = anchor.getTrustedCert().getPublicKey(); in BasicChecker()
85 this.caName = anchor.getTrustedCert().getSubjectX500Principal(); in BasicChecker()
DForwardBuilder.java88 X509Certificate trustedCert = anchor.getTrustedCert(); in ForwardBuilder()
841 if (anchor.getTrustedCert() != null) { in isPathCompleted()
842 if (cert.equals(anchor.getTrustedCert())) { in isPathCompleted()
DPKIXCertPathValidator.java115 X509Certificate trustedCert = anchor.getTrustedCert(); in validate()
DRevocationChecker.java269 X509Certificate cert = anchor.getTrustedCert();
305 issuerCert = anchor.getTrustedCert();
1039 prevKey2 = ta.getTrustedCert().getPublicKey();
/libcore/luni/src/test/java/tests/security/cert/
DTrustAnchorTest.java294 assertEquals(pemCert, ta1.getTrustedCert()); in testTrustAnchorX509CertificatebyteArray01()
302 assertEquals(pemCert, ta2.getTrustedCert()); in testTrustAnchorX509CertificatebyteArray01()
310 assertEquals(pemCert, ta3.getTrustedCert()); in testTrustAnchorX509CertificatebyteArray01()
319 assertEquals(pemCert, ta4.getTrustedCert()); in testTrustAnchorX509CertificatebyteArray01()
465 assertNull("null1", ta.getTrustedCert()); in testGetTrustedCer02()
469 assertNull("null2", ta.getTrustedCert()); in testGetTrustedCer02()
473 assertSame(cert, ta2.getTrustedCert()); in testGetTrustedCer02()
/libcore/ojluni/src/main/java/java/security/cert/
DTrustAnchor.java230 public final X509Certificate getTrustedCert() { in getTrustedCert() method in TrustAnchor