Home
last modified time | relevance | path

Searched refs:currCert (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DConstraintsChecker.java117 X509Certificate currCert = (X509Certificate)cert; in check() local
122 checkBasicConstraints(currCert); in check()
123 verifyNameConstraints(currCert); in check()
134 private void verifyNameConstraints(X509Certificate currCert) in verifyNameConstraints() argument
146 !X509CertImpl.isSelfIssued(currCert))) { in verifyNameConstraints()
149 ", currDN = " + currCert.getSubjectX500Principal()); in verifyNameConstraints()
153 if (!prevNC.verify(currCert)) { in verifyNameConstraints()
163 prevNC = mergeNameConstraints(currCert, prevNC); in verifyNameConstraints()
173 X509Certificate currCert, NameConstraintsExtension prevNC) in mergeNameConstraints() argument
178 currCertImpl = X509CertImpl.toImpl(currCert); in mergeNameConstraints()
[all …]
DBasicChecker.java141 X509Certificate currCert = (X509Certificate)cert; in check() local
144 verifyTimestamp(currCert); in check()
145 verifyNameChaining(currCert); in check()
147 verifySignature(currCert); in check()
149 updateState(currCert); in check()
243 private void updateState(X509Certificate currCert) in updateState() argument
246 PublicKey cKey = currCert.getPublicKey(); in updateState()
249 currCert.getIssuerX500Principal().toString() + "; subject: " + in updateState()
250 currCert.getSubjectX500Principal() + "; serial#: " + in updateState()
251 currCert.getSerialNumber().toString()); in updateState()
[all …]
DPolicyChecker.java197 private void checkPolicy(X509Certificate currCert) in checkPolicy() argument
218 currCertImpl = X509CertImpl.toImpl(currCert); in checkPolicy()
267 static int mergeExplicitPolicy(int explicitPolicy, X509CertImpl currCert, in mergeExplicitPolicy() argument
270 if ((explicitPolicy > 0) && !X509CertImpl.isSelfIssued(currCert)) { in mergeExplicitPolicy()
276 = currCert.getPolicyConstraintsExtension(); in mergeExplicitPolicy()
320 static int mergePolicyMapping(int policyMapping, X509CertImpl currCert) in mergePolicyMapping() argument
323 if ((policyMapping > 0) && !X509CertImpl.isSelfIssued(currCert)) { in mergePolicyMapping()
329 = currCert.getPolicyConstraintsExtension(); in mergePolicyMapping()
369 X509CertImpl currCert) throws CertPathValidatorException in mergeInhibitAnyPolicy() argument
371 if ((inhibitAnyPolicy > 0) && !X509CertImpl.isSelfIssued(currCert)) { in mergeInhibitAnyPolicy()
[all …]
DPKIXMasterCertPathValidator.java92 X509Certificate currCert = reversedCertList.get(i); in validate() local
96 currCert.getSubjectX500Principal()); in validate()
99 Set<String> unresCritExts = currCert.getCriticalExtensionOIDs(); in validate()
125 currChecker.check(currCert, unresCritExts); in validate()
DKeyChecker.java109 X509Certificate currCert = (X509Certificate)cert; in check() local
116 targetConstraints.match(currCert) == false) { in check()
122 verifyCAKeyUsage(currCert); in check()
DSunCertPathBuilder.java401 X509Certificate currCert = appendedCerts.get(i); in depthFirstSearchForward() local
404 + currCert.getSubjectX500Principal()); in depthFirstSearchForward()
406 currCert.getCriticalExtensionOIDs(); in depthFirstSearchForward()
426 currChecker.check(currCert, unresCritExts); in depthFirstSearchForward()
434 if (buildParams.targetCertConstraints().match(currCert) in depthFirstSearchForward()
DRevocationChecker.java671 X509CertImpl currCert = null;
673 currCert = X509CertImpl.toImpl(cert);
687 currCert.getSerialNumberObject());
691 currCert.getSerialNumberObject());
715 : OCSP.getResponderURI(currCert);
930 private void buildToNewKey(X509Certificate currCert,
945 certSel.setSubject(currCert.getIssuerX500Principal());
983 currCertImpl = X509CertImpl.toImpl(currCert);
1035 stackedCerts.add(currCert);
1076 checkCRLs(currCert, newKey, newCert,