Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DPKIXCertPathValidator.java114 for (TrustAnchor anchor : params.trustAnchors()) { in validate()
115 X509Certificate trustedCert = anchor.getTrustedCert(); in validate()
140 return validate(anchor, params); in validate()
158 private static PKIXCertPathValidatorResult validate(TrustAnchor anchor, in validate() argument
178 certPathCheckers.add(new AlgorithmChecker(anchor)); in validate()
195 BasicChecker bc = new BasicChecker(anchor, params.date(), in validate()
210 ((RevocationChecker)checker).init(anchor, params); in validate()
217 certPathCheckers.add(new RevocationChecker(anchor, params)); in validate()
226 return new PKIXCertPathValidatorResult(anchor, pc.getPolicyTree(), in validate()
DAlgorithmChecker.java109 public AlgorithmChecker(TrustAnchor anchor) { in AlgorithmChecker() argument
110 this(anchor, certPathDefaultConstraints); in AlgorithmChecker()
139 public AlgorithmChecker(TrustAnchor anchor, in AlgorithmChecker() argument
142 if (anchor == null) { in AlgorithmChecker()
147 if (anchor.getTrustedCert() != null) { in AlgorithmChecker()
148 this.trustedPubKey = anchor.getTrustedCert().getPublicKey(); in AlgorithmChecker()
150 trustedMatch = checkFingerprint(anchor.getTrustedCert()); in AlgorithmChecker()
155 this.trustedPubKey = anchor.getCAPublicKey(); in AlgorithmChecker()
362 void trySetTrustAnchor(TrustAnchor anchor) { in trySetTrustAnchor() argument
366 if (anchor == null) { in trySetTrustAnchor()
[all …]
DForwardBuilder.java87 for (TrustAnchor anchor : trustAnchors) { in ForwardBuilder()
88 X509Certificate trustedCert = anchor.getTrustedCert(); in ForwardBuilder()
93 trustedSubjectDNs.add(anchor.getCA()); in ForwardBuilder()
840 for (TrustAnchor anchor : trustAnchors) { in isPathCompleted()
841 if (anchor.getTrustedCert() != null) { in isPathCompleted()
842 if (cert.equals(anchor.getTrustedCert())) { in isPathCompleted()
843 this.trustAnchor = anchor; in isPathCompleted()
849 X500Principal principal = anchor.getCA(); in isPathCompleted()
850 PublicKey publicKey = anchor.getCAPublicKey(); in isPathCompleted()
856 this.trustAnchor = anchor; in isPathCompleted()
[all …]
DBasicChecker.java81 BasicChecker(TrustAnchor anchor, Date date, String sigProvider, in BasicChecker() argument
83 if (anchor.getTrustedCert() != null) { in BasicChecker()
84 this.trustedPubKey = anchor.getTrustedCert().getPublicKey(); in BasicChecker()
85 this.caName = anchor.getTrustedCert().getSubjectX500Principal(); in BasicChecker()
87 this.trustedPubKey = anchor.getCAPublicKey(); in BasicChecker()
88 this.caName = anchor.getCA(); in BasicChecker()
DRevocationChecker.java55 private TrustAnchor anchor; field in RevocationChecker
92 RevocationChecker(TrustAnchor anchor, ValidatorParams params) in RevocationChecker() argument
96 init(anchor, params); in RevocationChecker()
99 void init(TrustAnchor anchor, ValidatorParams params) in init() argument
149 this.anchor = anchor; in init()
268 for (TrustAnchor anchor : anchors) {
269 X509Certificate cert = anchor.getTrustedCert();
304 if (anchor != null) {
305 issuerCert = anchor.getTrustedCert();
307 : anchor.getCAPublicKey();
[all …]
DSunCertPathBuilder.java360 TrustAnchor anchor = new TrustAnchor in depthFirstSearchForward() local
364 basicChecker = new BasicChecker(anchor, buildParams.date(), in depthFirstSearchForward()
572 private static boolean anchorIsTarget(TrustAnchor anchor, in anchorIsTarget() argument
575 X509Certificate anchorCert = anchor.getTrustedCert(); in anchorIsTarget()
DPKIX.java106 for (TrustAnchor anchor : this.anchors) { in ValidatorParams()
107 if (anchor.getNameConstraints() != null) { in ValidatorParams()
/libcore/ojluni/src/test/java/security/cert/
DAKISerialNumberTest.java118 TrustAnchor anchor = new TrustAnchor(rootCert, null); in main() local
126 (Collections.singleton(anchor), sel); in main()