@Override public String toString() { String orig = super.toString(); if (base.getTrustAnchors() != null) orig = orig.replaceFirst("[\n", "[\n Trust Anchors: " + base.getTrustAnchors().toString() + "\n"); return orig; }
public Builder(PKIXExtendedParameters baseParameters) { this.baseParameters = baseParameters.baseParameters; this.date = baseParameters.date; this.targetConstraints = baseParameters.targetConstraints; this.extraCertStores = new ArrayList<PKIXCertStore>(baseParameters.extraCertStores); this.namedCertificateStoreMap = new HashMap<GeneralName, PKIXCertStore>(baseParameters.namedCertificateStoreMap); this.extraCRLStores = new ArrayList<PKIXCRLStore>(baseParameters.extraCRLStores); this.namedCRLStoreMap = new HashMap<GeneralName, PKIXCRLStore>(baseParameters.namedCRLStoreMap); this.useDeltas = baseParameters.useDeltas; this.validityModel = baseParameters.validityModel; this.revocationEnabled = baseParameters.isRevocationEnabled(); this.trustAnchors = baseParameters.getTrustAnchors(); }
pkixParams.getBaseParameters().getTrustAnchors(), pkixParams.getBaseParameters().getSigProvider()); } catch (AnnotatedException e1)
if (CertPathValidatorUtilities.isIssuerTrustAnchor(tbvCert, pkixParams.getBaseParameters().getTrustAnchors(), pkixParams.getBaseParameters().getSigProvider()))
if (CertPathValidatorUtilities.isIssuerTrustAnchor(tbvCert, pkixParams.getBaseParameters().getTrustAnchors(), pkixParams.getBaseParameters().getSigProvider()))
if (paramsPKIX.getTrustAnchors() == null) paramsPKIX.getTrustAnchors(), paramsPKIX.getSigProvider());
Collection trustColl = getTrustAnchors(cert,pkixParams.getBaseParameters().getTrustAnchors()); if (trustColl.size() > 1) "CertPathReviewer.noTrustAnchorFound", new Object[] {new UntrustedInput(cert.getIssuerX500Principal()), new Integer(pkixParams.getBaseParameters().getTrustAnchors().size())}); addError(msg);