Searched refs:X509CertImpl (Results 1 - 25 of 33) sorted by relevance

12

/openjdk7/jdk/test/sun/security/provider/certpath/CertId/
H A DCheckCertId.java34 import sun.security.x509.X509CertImpl;
48 X509CertImpl cert = loadCert(CERT_FILENAME);
68 private static X509CertImpl loadCert(String filename) throws Exception {
75 return new X509CertImpl(bis);
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DX509Certificate.java36 import sun.security.x509.X509CertImpl;
252 issuerX500Principal = X509CertImpl.getIssuerX500Principal(this);
295 subjectX500Principal = X509CertImpl.getSubjectX500Principal(this);
508 return X509CertImpl.getExtendedKeyUsage(this);
605 return X509CertImpl.getSubjectAlternativeNames(this);
647 return X509CertImpl.getIssuerAlternativeNames(this);
H A DCertificate.java36 import sun.security.x509.X509CertImpl;
109 byte[] thisCert = X509CertImpl.getEncodedInternal(this);
110 byte[] otherCert = X509CertImpl.getEncodedInternal((Certificate)other);
127 byte[] certData = X509CertImpl.getEncodedInternal(this);
/openjdk7/jdk/test/sun/security/provider/X509Factory/
H A DBigCRL.java56 X509CertImpl signerCertImpl = new X509CertImpl(encoded);
58 X509CertImpl.NAME + "." + X509CertImpl.INFO);
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DForwardState.java48 import sun.security.x509.X509CertImpl;
65 X509CertImpl cert;
176 X509CertImpl icert = X509CertImpl.toImpl(cert);
191 if (!X509CertImpl.isSelfIssued(cert)) {
204 if (init || !X509CertImpl.isSelfIssued(cert)){
H A DConstraintsChecker.java42 import sun.security.x509.X509CertImpl;
143 !X509CertImpl.isSelfIssued(currCert))) {
173 X509CertImpl currCertImpl;
175 currCertImpl = X509CertImpl.toImpl(currCert);
247 if (X509CertImpl.isSelfIssued(currCert)) {
261 if (!X509CertImpl.isSelfIssued(currCert)) {
295 if (!X509CertImpl.isSelfIssued(cert)) {
H A DOCSP.java52 import sun.security.x509.X509CertImpl;
115 X509CertImpl certImpl = X509CertImpl.toImpl(cert);
180 X509CertImpl certImpl = X509CertImpl.toImpl(cert);
325 return getResponderURI(X509CertImpl.toImpl(cert));
332 static URI getResponderURI(X509CertImpl certImpl) {
H A DReverseBuilder.java58 import sun.security.x509.X509CertImpl;
373 X509CertImpl cpListCertImpl = X509CertImpl.toImpl(cpListCert);
408 if ((currentState.remainingCACerts <= 0) && !X509CertImpl.isSelfIssued(cert)) {
442 if (finalCert || !X509CertImpl.isSelfIssued(cert)){
459 X509CertImpl certImpl = X509CertImpl.toImpl(cert);
H A DBuilder.java44 import sun.security.x509.X509CertImpl;
293 X509CertImpl certImpl;
295 certImpl = X509CertImpl.toImpl(cert);
436 if (selector.match(targetCert) && !X509CertImpl.isSelfSigned
451 if (!X509CertImpl.isSelfSigned
H A DPolicyChecker.java47 import sun.security.x509.X509CertImpl;
214 X509CertImpl currCertImpl = null;
216 currCertImpl = X509CertImpl.toImpl(currCert);
265 static int mergeExplicitPolicy(int explicitPolicy, X509CertImpl currCert,
268 if ((explicitPolicy > 0) && !X509CertImpl.isSelfIssued(currCert)) {
318 static int mergePolicyMapping(int policyMapping, X509CertImpl currCert)
321 if ((policyMapping > 0) && !X509CertImpl.isSelfIssued(currCert)) {
367 X509CertImpl currCert) throws CertPathValidatorException
369 if ((inhibitAnyPolicy > 0) && !X509CertImpl.isSelfIssued(currCert)) {
426 X509CertImpl currCer
[all...]
H A DVertex.java37 import sun.security.x509.X509CertImpl;
139 X509CertImpl x509Cert = null;
141 x509Cert = X509CertImpl.toImpl((X509Certificate)cert);
H A DAlgorithmChecker.java56 import sun.security.x509.X509CertImpl;
177 X509CertImpl x509Cert = null;
179 x509Cert = X509CertImpl.toImpl((X509Certificate)cert);
189 algorithmId = (AlgorithmId)x509Cert.get(X509CertImpl.SIG_ALG);
H A DPKIXCertPathValidator.java53 import sun.security.x509.X509CertImpl;
246 X509CertImpl firstCertImpl = X509CertImpl.toImpl(firstCert);
H A DReverseState.java46 import sun.security.x509.X509CertImpl;
293 X509CertImpl icert = X509CertImpl.toImpl(cert);
H A DX509CertificatePair.java40 import sun.security.x509.X509CertImpl;
241 (new X509CertImpl(opt.toByteArray()));
252 (new X509CertImpl(opt.toByteArray()));
H A DOCSPChecker.java148 X509CertImpl currCertImpl = null;
150 currCertImpl = X509CertImpl.toImpl((X509Certificate)cert);
418 private static URI getOCSPServerURI(X509CertImpl currCertImpl,
495 X509CertImpl certImpl = null;
499 certImpl = X509CertImpl.toImpl(cert);
H A DCrlRevocationChecker.java73 import sun.security.x509.X509CertImpl;
569 X509CertImpl currCertImpl = null;
571 currCertImpl = X509CertImpl.toImpl(currCert);
759 X509CertImpl certImpl = X509CertImpl.toImpl(cert);
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DX509Factory.java31 import sun.security.x509.X509CertImpl;
56 * @see sun.security.x509.X509CertImpl
93 X509CertImpl cert = (X509CertImpl)getFromCache(certCache, encoding);
97 cert = new X509CertImpl(encoding);
130 * Return an interned X509CertImpl for the given certificate.
131 * If the given X509Certificate or X509CertImpl is already present
133 * if it is a X509Certificate, it is first converted to a X509CertImpl.
134 * Then the X509CertImpl is added to the cache and returned.
140 * implementations to an X509CertImpl
[all...]
/openjdk7/jdk/test/sun/security/rsa/
H A DGenKeyStore.java62 X509CertImpl cert = new X509CertImpl(certInfo);
/openjdk7/jdk/test/sun/security/pkcs11/rsa/
H A DGenKeyStore.java62 X509CertImpl cert = new X509CertImpl(certInfo);
/openjdk7/jdk/test/sun/security/tools/keytool/
H A DKeyToolTest.java335 X509CertImpl certImpl = new X509CertImpl(encoded);
853 assertTrue(((X509CertImpl)ks.getCertificate("o1")).getSubjectKeyIdentifierExtension() != null);
867 assertTrue(((X509CertImpl)ks.getCertificate("b1")).getBasicConstraintsExtension().isCritical());
868 assertTrue(!((X509CertImpl)ks.getCertificate("b2")).getBasicConstraintsExtension().isCritical());
869 assertTrue(((X509CertImpl)ks.getCertificate("b8")).getBasicConstraintsExtension().isCritical());
924 assertTrue(((X509CertImpl)ks.getCertificate("ku1")).getExtension(PKIXExtensions.KeyUsage_Id).isCritical());
925 assertTrue(!((X509CertImpl)ks.getCertificate("ku2")).getExtension(PKIXExtensions.KeyUsage_Id).isCritical());
979 assertTrue(((X509CertImpl)ks.getCertificate("eku1")).getExtension(PKIXExtensions.ExtendedKeyUsage_Id).isCritical());
980 assertTrue(!((X509CertImpl)k
[all...]
/openjdk7/jdk/src/share/classes/sun/security/validator/
H A DSimpleValidator.java36 import sun.security.x509.X509CertImpl;
275 if (cert instanceof X509CertImpl) {
276 X509CertImpl certImpl = (X509CertImpl)cert;
313 if (!X509CertImpl.isSelfIssued(cert)) {
/openjdk7/jdk/src/share/classes/sun/security/pkcs/
H A DPKCS7.java41 import sun.security.x509.X509CertImpl;
217 certificates[i] = new X509CertImpl(contents[i]);
295 certificates[count] = new X509CertImpl(certVals[i]);
411 certificates[i] = new X509CertImpl(certVals[i]);
481 // cast to X509CertImpl[] since X509CertImpl implements DerEncoder
482 X509CertImpl implCerts[] = new X509CertImpl[certificates.length];
484 if (certificates[i] instanceof X509CertImpl)
485 implCerts[i] = (X509CertImpl) certificate
[all...]
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DCertAndKeyGen.java60 * @see X509CertImpl
241 X509CertImpl cert;
266 cert = new X509CertImpl(info);
H A DX509CertImpl.java49 * The X509CertImpl class represents an X.509 certificate. These certificates
79 public class X509CertImpl extends X509Certificate implements DerEncoder { class in inherits:X509Certificate,DerEncoder
186 public X509CertImpl() { } method in class:X509CertImpl
200 public X509CertImpl(byte[] certData) throws CertificateException { method in class:X509CertImpl
220 public X509CertImpl(InputStream in) throws CertificateException { method in class:X509CertImpl
303 public X509CertImpl(X509CertInfo certInfo) { method in class:X509CertImpl
315 public X509CertImpl(DerValue derVal) throws CertificateException { method in class:X509CertImpl
855 * also aware of X509CertImpl mutability.
892 * also aware of X509CertImpl mutability.
1856 * is instance of X509CertImpl, getEncode
[all...]

Completed in 57 milliseconds

12