Searched refs:trustedCert (Results 1 - 11 of 11) sorted by relevance

/openjdk7/jdk/src/share/classes/java/security/cert/
H A DTrustAnchor.java69 private final X509Certificate trustedCert; field in class:TrustAnchor
114 * @param trustedCert a trusted <code>X509Certificate</code>
124 public TrustAnchor(X509Certificate trustedCert, byte[] nameConstraints) argument
126 if (trustedCert == null)
127 throw new NullPointerException("the trustedCert parameter must " +
129 this.trustedCert = trustedCert;
148 * TrustAnchor(X509Certificate trustedCert, byte[] nameConstraints) }.
168 this.trustedCert = null;
187 * TrustAnchor(X509Certificate trustedCert, byt
[all...]
/openjdk7/jdk/test/java/security/cert/CertPathBuilder/
H A DNoExtensions.java68 X509Certificate trustedCert = getTrustedCertificate();
69 trustAnchors.add(new TrustAnchor(trustedCert, null));
73 certs.add(trustedCert);
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/
H A DPKIXCertPathValidator.java162 X509Certificate trustedCert = anchor.getTrustedCert();
163 if (trustedCert != null) {
171 if (!isWorthTrying(trustedCert, firstCert)) {
178 + trustedCert.getSubjectX500Principal());
217 private boolean isWorthTrying(X509Certificate trustedCert, argument
250 worthy = issuerSelector.match(trustedCert);
257 debug.println("YES - try this trustedCert");
259 debug.println("NO - don't try this trustedCert");
H A DReverseState.java242 X509Certificate trustedCert = anchor.getTrustedCert();
243 if (trustedCert != null) {
244 updateState(trustedCert);
H A DForwardBuilder.java103 X509Certificate trustedCert = anchor.getTrustedCert();
104 if (trustedCert != null) {
105 trustedCerts.add(trustedCert);
106 trustedSubjectDNs.add(trustedCert.getSubjectX500Principal());
304 for (X509Certificate trustedCert : trustedCerts) {
305 if (sel.match(trustedCert)) {
310 if (caCerts.add(trustedCert) && !searchAllCertStores) {
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/X509TrustManagerImpl/
H A DComodoHacker.java266 Certificate trustedCert = cf.generateCertificate(is);
267 ks.setCertificateEntry("RSA Export Signer", trustedCert);
/openjdk7/jdk/src/share/classes/sun/security/validator/
H A DSimpleValidator.java364 X509Certificate trustedCert = getTrustedCertificate(cert);
365 if (trustedCert != null) {
366 c.add(trustedCert);
378 X509Certificate trustedCert = list.iterator().next();
379 c.add(trustedCert);
H A DPKIXValidator.java317 X509Certificate trustedCert = anchor.getTrustedCert();
318 if (trustedCert == null) {
322 chain[chain.length - 1] = trustedCert;
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/ClientHandshaker/
H A DRSAExport.java525 Certificate trustedCert = cf.generateCertificate(is);
532 ks.setCertificateEntry("RSA Export Signer", trustedCert);
549 chain[1] = trustedCert;
/openjdk7/jdk/src/share/classes/java/security/
H A DKeyStore.java538 * @param trustedCert the trusted <code>Certificate</code>
541 * <code>trustedCert</code> is <code>null</code>
543 public TrustedCertificateEntry(Certificate trustedCert) { argument
544 if (trustedCert == null) {
547 this.cert = trustedCert;
/openjdk7/jdk/src/share/classes/sun/security/tools/
H A DKeyTool.java2941 Certificate trustedCert = ks.getCertificate(name);
2942 if (trustedCert != null) {
2944 cert.verify(trustedCert.getPublicKey());
2945 return trustedCert;

Completed in 53 milliseconds