Lines Matching refs:TrustAnchor
53 * specifying a <code>Set</code> of <code>TrustAnchor</code> objects, each
88 private Set<TrustAnchor> unmodTrustAnchors;
104 * set is a {@link TrustAnchor TrustAnchor}.
109 * @param trustAnchors a <code>Set</code> of <code>TrustAnchor</code>s
115 * are not of type <code>java.security.cert.TrustAnchor</code>
117 public PKIXParameters(Set<TrustAnchor> trustAnchors)
147 Set<TrustAnchor> hashSet = new HashSet<TrustAnchor>();
154 hashSet.add(new TrustAnchor((X509Certificate)cert, null));
167 * @return an immutable <code>Set</code> of <code>TrustAnchor</code>s
172 public Set<TrustAnchor> getTrustAnchors() {
182 * @param trustAnchors a <code>Set</code> of <code>TrustAnchor</code>s
188 * are not of type <code>java.security.cert.TrustAnchor</code>
192 public void setTrustAnchors(Set<TrustAnchor> trustAnchors)
203 for (Iterator<TrustAnchor> i = trustAnchors.iterator(); i.hasNext(); ) {
204 if (!(i.next() instanceof TrustAnchor)) {
206 + "of type java.security.cert.TrustAnchor");
210 (new HashSet<TrustAnchor>(trustAnchors));