public class ExtPKIXParameters
extends org.bouncycastle.x509.ExtendedPKIXBuilderParameters
Modifier and Type | Field and Description |
---|---|
protected ObserversHandler |
observers |
protected boolean |
proxySupport |
protected RevocationParameters |
revocationParams |
Constructor and Description |
---|
ExtPKIXParameters(Set<TrustAnchor> trustAnchors,
org.bouncycastle.util.Selector targetSelector,
ObserversHandler observers) |
Modifier and Type | Method and Description |
---|---|
ExtPKIXParameters |
clone()
Makes a copy of this
ExtPKIXParameters object. |
ObserversHandler |
getObservers() |
RevocationParameters |
getRevocationParams() |
Set<TrustAnchor> |
getTrustAnchors()
Returns an immutable
Set of the most-trusted CAs. |
boolean |
isProxySupport() |
void |
setProxySupport(boolean proxySupport) |
void |
setRevocationParams(RevocationParameters revocationParams) |
void |
setTrustAnchors(Set<TrustAnchor> trustAnchors)
We override this method as we also accept an empty list of trust anchors.
|
String |
toString() |
getExcludedCerts, getInstance, getMaxPathLength, setExcludedCerts, setMaxPathLength, setParams
addAddionalStore, addAdditionalStore, addStore, getAdditionalStores, getAttrCertCheckers, getNecessaryACAttributes, getProhibitedACAttributes, getStores, getTargetConstraints, getTrustedACIssuers, getValidityModel, isAdditionalLocationsEnabled, isUseDeltasEnabled, setAdditionalLocationsEnabled, setAttrCertCheckers, setCertStores, setNecessaryACAttributes, setProhibitedACAttributes, setStores, setTargetCertConstraints, setTargetConstraints, setTrustedACIssuers, setUseDeltasEnabled, setValidityModel
addCertPathChecker, addCertStore, getCertPathCheckers, getCertStores, getDate, getInitialPolicies, getPolicyQualifiersRejected, getSigProvider, getTargetCertConstraints, isAnyPolicyInhibited, isExplicitPolicyRequired, isPolicyMappingInhibited, isRevocationEnabled, setAnyPolicyInhibited, setCertPathCheckers, setDate, setExplicitPolicyRequired, setInitialPolicies, setPolicyMappingInhibited, setPolicyQualifiersRejected, setRevocationEnabled, setSigProvider
protected boolean proxySupport
protected RevocationParameters revocationParams
protected ObserversHandler observers
public ExtPKIXParameters(Set<TrustAnchor> trustAnchors, org.bouncycastle.util.Selector targetSelector, ObserversHandler observers) throws InvalidAlgorithmParameterException
public boolean isProxySupport()
public void setProxySupport(boolean proxySupport)
public RevocationParameters getRevocationParams()
public ObserversHandler getObservers()
public void setRevocationParams(RevocationParameters revocationParams)
public void setTrustAnchors(Set<TrustAnchor> trustAnchors) throws InvalidAlgorithmParameterException
setTrustAnchors
in class PKIXParameters
InvalidAlgorithmParameterException
public Set<TrustAnchor> getTrustAnchors()
Set
of the most-trusted CAs.getTrustAnchors
in class PKIXParameters
Set
of TrustAnchor
s
(never null
)setTrustAnchors(java.util.Set<java.security.cert.TrustAnchor>)
public String toString()
toString
in class PKIXParameters
public ExtPKIXParameters clone()
ExtPKIXParameters
object. Changes to the
copy will not affect the original and vice versa.clone
in interface CertPathParameters
clone
in class org.bouncycastle.x509.ExtendedPKIXBuilderParameters
ExtPKIXParameters
objectCopyright © 2012–2015 European Middleware Initiative. All rights reserved.