Searched refs:trustAnchors (Results 1 - 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/java/security/cert/
H A DPKIXBuilderParameters.java90 * @param trustAnchors a {@code Set} of {@code TrustAnchor}s
93 * @throws InvalidAlgorithmParameterException if {@code trustAnchors}
94 * is empty {@code (trustAnchors.isEmpty() == true)}
95 * @throws NullPointerException if {@code trustAnchors} is
98 * {@code trustAnchors} are not of type
101 public PKIXBuilderParameters(Set<TrustAnchor> trustAnchors, CertSelector argument
104 super(trustAnchors);
H A DPKIXParameters.java109 * @param trustAnchors a {@code Set} of {@code TrustAnchor}s
111 * {@code Set} is empty {@code (trustAnchors.isEmpty() == true)}
117 public PKIXParameters(Set<TrustAnchor> trustAnchors) argument
120 setTrustAnchors(trustAnchors);
182 * @param trustAnchors a {@code Set} of {@code TrustAnchor}s
184 * {@code Set} is empty {@code (trustAnchors.isEmpty() == true)}
192 public void setTrustAnchors(Set<TrustAnchor> trustAnchors) argument
195 if (trustAnchors == null) {
196 throw new NullPointerException("the trustAnchors parameters must" +
199 if (trustAnchors
[all...]
/libcore/ojluni/src/test/java/security/cert/
H A DPKIXCertPathValidatorValidity.java118 Set<TrustAnchor> trustAnchors = new HashSet<>();
122 trustAnchors.add(ta);
124 PKIXParameters params = new PKIXParameters(trustAnchors);
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DDistributionPointFetcher.java74 Set<TrustAnchor> trustAnchors,
79 reasonsMask, trustAnchors, validity);
93 Set<TrustAnchor> trustAnchors,
123 certStores, trustAnchors, validity);
148 Set<TrustAnchor> trustAnchors, Date validity)
211 trustAnchors, certStores, validity)) {
309 * @param trustAnchors a {@code Set} of {@code TrustAnchor}s
319 Set<TrustAnchor> trustAnchors, List<CertStore> certStores,
628 Set<TrustAnchor> newTrustAnchors = new HashSet<>(trustAnchors);
68 getCRLs(X509CRLSelector selector, boolean signFlag, PublicKey prevKey, String provider, List<CertStore> certStores, boolean[] reasonsMask, Set<TrustAnchor> trustAnchors, Date validity) argument
86 getCRLs(X509CRLSelector selector, boolean signFlag, PublicKey prevKey, X509Certificate prevCert, String provider, List<CertStore> certStores, boolean[] reasonsMask, Set<TrustAnchor> trustAnchors, Date validity) argument
144 getCRLs(X509CRLSelector selector, X509CertImpl certImpl, DistributionPoint point, boolean[] reasonsMask, boolean signFlag, PublicKey prevKey, X509Certificate prevCert, String provider, List<CertStore> certStores, Set<TrustAnchor> trustAnchors, Date validity) argument
316 verifyCRL(X509CertImpl certImpl, DistributionPoint point, X509CRL crl, boolean[] reasonsMask, boolean signFlag, PublicKey prevKey, X509Certificate prevCert, String provider, Set<TrustAnchor> trustAnchors, List<CertStore> certStores, Date validity) argument
H A DForwardBuilder.java68 private final Set<TrustAnchor> trustAnchors; field in class:ForwardBuilder
84 trustAnchors = buildParams.trustAnchors();
85 trustedCerts = new HashSet<X509Certificate>(trustAnchors.size());
86 trustedSubjectDNs = new HashSet<X500Principal>(trustAnchors.size());
87 for (TrustAnchor anchor : trustAnchors) {
840 for (TrustAnchor anchor : trustAnchors) {
H A DPKIXCertPathValidator.java114 for (TrustAnchor anchor : params.trustAnchors()) {
H A DPKIX.java169 Set<TrustAnchor> trustAnchors() { method in class:PKIX.ValidatorParams
H A DRevocationChecker.java107 ? getResponderCert(rp, params.trustAnchors(),
466 stackedCerts, params.trustAnchors());
795 * @param trustAnchors a <code>Set</code> of <code>TrustAnchor</code>s>
949 params.trustAnchors() :
1077 true, false, null, params.trustAnchors());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DTrustManagerFactory1Test.java450 Set<TrustAnchor> trustAnchors = new HashSet<TrustAnchor>();
451 trustAnchors.add(ta);
453 PKIXBuilderParameters pkixBP = new PKIXBuilderParameters(trustAnchors, xcs);

Completed in 123 milliseconds