Searched refs:anchor (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | PKIXCertPathValidator.java | 114 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()
|
D | AlgorithmChecker.java | 109 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 …]
|
D | ForwardBuilder.java | 87 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 …]
|
D | BasicChecker.java | 81 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()
|
D | RevocationChecker.java | 55 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 …]
|
D | SunCertPathBuilder.java | 360 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()
|
D | PKIX.java | 106 for (TrustAnchor anchor : this.anchors) { in ValidatorParams() 107 if (anchor.getNameConstraints() != null) { in ValidatorParams()
|
/libcore/ojluni/src/test/java/security/cert/ |
D | AKISerialNumberTest.java | 118 TrustAnchor anchor = new TrustAnchor(rootCert, null); in main() local 126 (Collections.singleton(anchor), sel); in main()
|