Home
last modified time | relevance | path

Searched refs:X509CertImpl (Results 1 – 25 of 27) sorted by relevance

12

/libcore/ojluni/src/main/java/sun/security/provider/
DX509Factory.java29 import sun.security.x509.X509CertImpl;
63 private static final Cache<Object, X509CertImpl> certCache
151 public static synchronized X509CertImpl intern(X509Certificate c) in intern()
156 boolean isImpl = c instanceof X509CertImpl; in intern()
159 encoding = ((X509CertImpl)c).getEncodedInternal(); in intern()
163 X509CertImpl newC = getFromCache(certCache, encoding); in intern()
168 newC = (X509CertImpl)c; in intern()
170 newC = new X509CertImpl(encoding); in intern()
/libcore/ojluni/src/main/java/java/security/cert/
DX509Certificate.java35 import sun.security.x509.X509CertImpl;
248 issuerX500Principal = X509CertImpl.getIssuerX500Principal(this); in getIssuerX500Principal()
291 subjectX500Principal = X509CertImpl.getSubjectX500Principal(this); in getSubjectX500Principal()
508 return X509CertImpl.getExtendedKeyUsage(this); in getExtendedKeyUsage()
605 return X509CertImpl.getSubjectAlternativeNames(this); in getSubjectAlternativeNames()
647 return X509CertImpl.getIssuerAlternativeNames(this); in getIssuerAlternativeNames()
DCertificate.java37 import sun.security.x509.X509CertImpl;
114 byte[] thisCert = X509CertImpl.getEncodedInternal(this); in equals()
115 byte[] otherCert = X509CertImpl.getEncodedInternal((Certificate)other); in equals()
133 h = Arrays.hashCode(X509CertImpl.getEncodedInternal(this)); in hashCode()
DX509CertSelector.java1949 if (cert instanceof X509CertImpl) { in getExtensionObject()
1950 X509CertImpl impl = (X509CertImpl)cert; in getExtensionObject()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DConstraintsChecker.java43 import sun.security.x509.X509CertImpl;
146 !X509CertImpl.isSelfIssued(currCert))) { in verifyNameConstraints()
176 X509CertImpl currCertImpl; in mergeNameConstraints()
178 currCertImpl = X509CertImpl.toImpl(currCert); in mergeNameConstraints()
250 if (X509CertImpl.isSelfIssued(currCert)) { in checkBasicConstraints()
264 if (!X509CertImpl.isSelfIssued(currCert)) { in checkBasicConstraints()
298 if (!X509CertImpl.isSelfIssued(cert)) { in mergeBasicConstraints()
DForwardState.java45 import sun.security.x509.X509CertImpl;
62 X509CertImpl cert;
168 X509CertImpl icert = X509CertImpl.toImpl(cert); in updateState()
181 if (!X509CertImpl.isSelfIssued(cert)) { in updateState()
194 if (init || !X509CertImpl.isSelfIssued(cert)){ in updateState()
DOCSP.java54 import sun.security.x509.X509CertImpl;
120 X509CertImpl certImpl = X509CertImpl.toImpl(cert); in check()
173 X509CertImpl certImpl = X509CertImpl.toImpl(cert); in check()
307 return getResponderURI(X509CertImpl.toImpl(cert)); in getResponderURI()
314 static URI getResponderURI(X509CertImpl certImpl) { in getResponderURI()
DPolicyChecker.java47 import sun.security.x509.X509CertImpl;
216 X509CertImpl currCertImpl = null; in checkPolicy()
218 currCertImpl = X509CertImpl.toImpl(currCert); in checkPolicy()
267 static int mergeExplicitPolicy(int explicitPolicy, X509CertImpl currCert, in mergeExplicitPolicy()
270 if ((explicitPolicy > 0) && !X509CertImpl.isSelfIssued(currCert)) { in mergeExplicitPolicy()
320 static int mergePolicyMapping(int policyMapping, X509CertImpl currCert) in mergePolicyMapping()
323 if ((policyMapping > 0) && !X509CertImpl.isSelfIssued(currCert)) { in mergePolicyMapping()
369 X509CertImpl currCert) throws CertPathValidatorException in mergeInhibitAnyPolicy()
371 if ((inhibitAnyPolicy > 0) && !X509CertImpl.isSelfIssued(currCert)) { in mergeInhibitAnyPolicy()
428 X509CertImpl currCert, boolean finalCert) in processPolicies()
[all …]
DOCSPResponse.java184 private List<X509CertImpl> certs;
185 private X509CertImpl signerCert = null;
219 certs = new ArrayList<X509CertImpl>(); in OCSPResponse()
370 certs = new ArrayList<X509CertImpl>(derCerts.length); in OCSPResponse()
373 X509CertImpl cert = in OCSPResponse()
374 new X509CertImpl(derCerts[i].toByteArray()); in OCSPResponse()
386 certs = new ArrayList<X509CertImpl>(); in OCSPResponse()
431 certs.add(X509CertImpl.toImpl(issuerCert)); in verify()
433 certs.add(X509CertImpl.toImpl(responderCert)); in verify()
441 for (X509CertImpl cert : certs) { in verify()
[all …]
DBuilder.java43 import sun.security.x509.X509CertImpl;
290 X509CertImpl certImpl; in targetDistance()
292 certImpl = X509CertImpl.toImpl(cert); in targetDistance()
435 if (selector.match(targetCert) && !X509CertImpl.isSelfSigned in addMatchingCerts()
455 if (!X509CertImpl.isSelfSigned in addMatchingCerts()
DVertex.java36 import sun.security.x509.X509CertImpl;
137 X509CertImpl x509Cert = null; in certToString()
139 x509Cert = X509CertImpl.toImpl(cert); in certToString()
DPKIXCertPathValidator.java34 import sun.security.x509.X509CertImpl;
102 X509CertImpl firstCertImpl = X509CertImpl.toImpl(firstCert); in validate()
DAlgorithmChecker.java57 import sun.security.x509.X509CertImpl;
271 X509CertImpl x509Cert; in check()
274 x509Cert = X509CertImpl.toImpl((X509Certificate)cert); in check()
275 algorithmId = (AlgorithmId)x509Cert.get(X509CertImpl.SIG_ALG); in check()
DX509CertificatePair.java40 import sun.security.x509.X509CertImpl;
243 (new X509CertImpl(opt.toByteArray())); in parse()
254 (new X509CertImpl(opt.toByteArray())); in parse()
DDistributionPointFetcher.java102 X509CertImpl certImpl = X509CertImpl.toImpl(cert); in getCRLs()
145 X509CertImpl certImpl, DistributionPoint point, boolean[] reasonsMask, in getCRLs()
316 static boolean verifyCRL(X509CertImpl certImpl, DistributionPoint point, in verifyCRL()
732 private static boolean issues(X509CertImpl cert, X509CRLImpl crl, in issues()
DRevocationChecker.java671 X509CertImpl currCert = null;
673 currCert = X509CertImpl.toImpl(cert);
809 X509CertImpl certImpl = X509CertImpl.toImpl(cert);
981 X509CertImpl currCertImpl = null;
983 currCertImpl = X509CertImpl.toImpl(currCert);
DForwardBuilder.java52 import sun.security.x509.X509CertImpl;
438 X509CertImpl previousCert) throws IOException { in PKIXCertComparator()
447 private X509CertSelector getSelector(X509CertImpl previousCert) in getSelector()
/libcore/ojluni/src/main/java/sun/security/util/
DAnchorCertificates.java40 import sun.security.x509.X509CertImpl;
74 X509CertImpl.getFingerprint(HASH, cert, debug);
102 String key = X509CertImpl.getFingerprint(HASH, cert, debug); in contains()
/libcore/ojluni/annotations/hiddenapi/sun/security/provider/
DX509Factory.java36 public static synchronized sun.security.x509.X509CertImpl intern( in intern()
62 private static final sun.security.util.Cache<java.lang.Object, sun.security.x509.X509CertImpl>
/libcore/ojluni/src/main/java/sun/security/pkcs/
DPKCS7.java50 import sun.security.x509.X509CertImpl;
263 certificates[i] = new X509CertImpl(contents[i], original); in parseNetscapeCertChain()
345 certificates[count] = new X509CertImpl(certVals[i], original); in parseSignedData()
465 certificates[i] = new X509CertImpl(certVals[i], original); in parseOldSignedData()
537 X509CertImpl implCerts[] = new X509CertImpl[certificates.length]; in encodeSignedData()
539 if (certificates[i] instanceof X509CertImpl) in encodeSignedData()
540 implCerts[i] = (X509CertImpl) certificates[i]; in encodeSignedData()
544 implCerts[i] = new X509CertImpl(encoded); in encodeSignedData()
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DX509CertImpl.java29 public class X509CertImpl extends java.security.cert.X509Certificate class
32 public X509CertImpl() { in X509CertImpl() method in X509CertImpl
37 public X509CertImpl(byte[] certData) throws java.security.cert.CertificateException { in X509CertImpl() method in X509CertImpl
42 public X509CertImpl(sun.security.x509.X509CertInfo certInfo) { in X509CertImpl() method in X509CertImpl
47 public X509CertImpl(sun.security.util.DerValue derVal) in X509CertImpl() method in X509CertImpl
52 public X509CertImpl(sun.security.util.DerValue derVal, byte[] encoded) in X509CertImpl() method in X509CertImpl
395 public static sun.security.x509.X509CertImpl toImpl(java.security.cert.X509Certificate cert) in toImpl()
/libcore/ojluni/src/main/java/sun/security/x509/
DX509CertImpl.java73 public class X509CertImpl extends X509Certificate implements DerEncoder { class
172 public X509CertImpl() { } in X509CertImpl() method in X509CertImpl
186 public X509CertImpl(byte[] certData) throws CertificateException { in X509CertImpl() method in X509CertImpl
292 public X509CertImpl(X509CertInfo certInfo) { in X509CertImpl() method in X509CertImpl
304 public X509CertImpl(DerValue derVal) throws CertificateException { in X509CertImpl() method in X509CertImpl
322 public X509CertImpl(DerValue derVal, byte[] encoded) in X509CertImpl() method in X509CertImpl
1918 if (cert instanceof X509CertImpl) { in getEncodedInternal()
1919 return ((X509CertImpl)cert).getEncodedInternal(); in getEncodedInternal()
1930 public static X509CertImpl toImpl(X509Certificate cert) in toImpl()
1932 if (cert instanceof X509CertImpl) { in toImpl()
[all …]
DNameConstraintsExtension.java447 X509CertImpl certImpl = X509CertImpl.toImpl(cert); in verify()
DCRLExtensions.java187 if (id.equalsIgnoreCase(X509CertImpl.NAME)) { // fully qualified in get()
DOIDMap.java53 private static final String ROOT = X509CertImpl.NAME + "." +

12