eu.emi.security.authn.x509.helpers.pkipath
Class ExtPKIXParameters
java.lang.Object
java.security.cert.PKIXParameters
org.bouncycastle.x509.ExtendedPKIXParameters
org.bouncycastle.x509.ExtendedPKIXBuilderParameters
eu.emi.security.authn.x509.helpers.pkipath.ExtPKIXParameters
- All Implemented Interfaces:
- Cloneable, CertPathParameters
public class ExtPKIXParameters
- extends ExtendedPKIXBuilderParameters
Extended PKIX parameters with additional settings related to
the library features different CRL modes and proxy support.
- Author:
- K. Benedyczak
Methods inherited from class org.bouncycastle.x509.ExtendedPKIXParameters |
addAddionalStore, addAdditionalStore, addStore, getAdditionalStores, getAttrCertCheckers, getNecessaryACAttributes, getProhibitedACAttributes, getStores, getTargetConstraints, getTrustedACIssuers, getValidityModel, isAdditionalLocationsEnabled, isUseDeltasEnabled, setAdditionalLocationsEnabled, setAttrCertCheckers, setCertStores, setNecessaryACAttributes, setProhibitedACAttributes, setStores, setTargetCertConstraints, setTargetConstraints, setTrustedACIssuers, setUseDeltasEnabled, setValidityModel |
Methods inherited from class java.security.cert.PKIXParameters |
addCertPathChecker, addCertStore, getCertPathCheckers, getCertStores, getDate, getInitialPolicies, getPolicyQualifiersRejected, getSigProvider, getTargetCertConstraints, isAnyPolicyInhibited, isExplicitPolicyRequired, isPolicyMappingInhibited, isRevocationEnabled, setAnyPolicyInhibited, setCertPathCheckers, setDate, setExplicitPolicyRequired, setInitialPolicies, setPolicyMappingInhibited, setPolicyQualifiersRejected, setRevocationEnabled, setSigProvider |
proxySupport
protected boolean proxySupport
revocationParams
protected RevocationParameters revocationParams
observers
protected ObserversHandler observers
ExtPKIXParameters
public ExtPKIXParameters(Set<TrustAnchor> trustAnchors,
Selector targetSelector,
ObserversHandler observers)
throws InvalidAlgorithmParameterException
- Throws:
InvalidAlgorithmParameterException
isProxySupport
public boolean isProxySupport()
setProxySupport
public void setProxySupport(boolean proxySupport)
getRevocationParams
public RevocationParameters getRevocationParams()
getObservers
public ObserversHandler getObservers()
setRevocationParams
public void setRevocationParams(RevocationParameters revocationParams)
setTrustAnchors
public void setTrustAnchors(Set<TrustAnchor> trustAnchors)
throws InvalidAlgorithmParameterException
- We override this method as we also accept an empty list of trust anchors.
- Overrides:
setTrustAnchors
in class PKIXParameters
- Throws:
InvalidAlgorithmParameterException
getTrustAnchors
public Set<TrustAnchor> getTrustAnchors()
- Returns an immutable
Set
of the most-trusted CAs.
- Overrides:
getTrustAnchors
in class PKIXParameters
- Returns:
- an immutable
Set
of TrustAnchor
s
(never null
) - See Also:
setTrustAnchors(java.util.Set)
toString
public String toString()
- Overrides:
toString
in class PKIXParameters
clone
public ExtPKIXParameters clone()
- Makes a copy of this
ExtPKIXParameters
object. Changes to the
copy will not affect the original and vice versa.
- Specified by:
clone
in interface CertPathParameters
- Overrides:
clone
in class ExtendedPKIXBuilderParameters
- Returns:
- a copy of this
ExtPKIXParameters
object
Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.