Deprecated
use PKIXExtendedBuilderParameters
java.security.cert.PKIXBuilderParameters , org.bouncycastle.jce.provider.PKIXCertPathBuilderSpi
| Modifier and Type | Field and Description |
|---|---|
| private Set | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | ExtendedPKIXBuilderParameters(Set<E>
a trustAnchors, Selector<T> Set of TrustAnchorsa targetConstraints)Selector specifying the
constraints on the target certificate or attribute
certificate.Creates an instance of |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: a copy of thisPKIXParameters objectOverrides org. Implements java. PKIXParameters object.
|
| public Set | Returns: Returns the excluded certificates.Excluded certificates are not used for building a certification path. |
| public static ExtendedPKIXParameters | Returns: AnExtendedPKIXBuilderParameters instance.The PKIX parameters to create a copy of. pkixParams)Hides org.
Deprecated
as a consequence of
Returns an instance of ExtendedPKIXParameters being deprecated.
ExtendedPKIXParameters which can be
safely casted to ExtendedPKIXBuilderParameters.
|
| public int | Returns: the maximum number of non-self-issued intermediate certificates in the certification path, or -1 if no limit exists.Returns the value of the maximum number of intermediate non-self-issued certificates in the certification path. |
| public void | setExcludedCerts(Set<E>
The excluded certificates to set. excludedCerts)Sets the excluded certificates which are not used for building a certification path. |
| public void | setMaxPathLength(int
the maximum number of non-self-issued intermediate
certificates in the certification path maxPathLength)Sets the maximum number of intermediate non-self-issued certificates in a certification path. |
| protected void | setParams(PKIXParameters
Parameters to set. params)Overrides org. ExtendedPKIXBuilderParameters and
PKIXBuilderParameters.
|
| excludedCerts | back to summary |
|---|---|
| private Set<E> excludedCerts | |
| maxPathLength | back to summary |
|---|---|
| private int maxPathLength | |
| ExtendedPKIXBuilderParameters | back to summary |
|---|---|
| public ExtendedPKIXBuilderParameters(Set<E> trustAnchors, Selector<T> targetConstraints) throws InvalidAlgorithmParameterException Creates an instance of
Note that the
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides org. Implements java. Makes a copy of this
| |
| getExcludedCerts | back to summary |
|---|---|
| public Set Excluded certificates are not used for building a certification path. The returned set is immutable.
| |
| getInstance | back to summary |
|---|---|
| public static ExtendedPKIXParameters getInstance(PKIXParameters pkixParams) Hides org. Deprecated as a consequence of Returns an instance of
This method can be used to get a copy from other
| |
| getMaxPathLength | back to summary |
|---|---|
| public int getMaxPathLength() Returns the value of the maximum number of intermediate non-self-issued certificates in the certification path.
| |
| setExcludedCerts | back to summary |
|---|---|
| public void setExcludedCerts(Set<E> excludedCerts) Sets the excluded certificates which are not used for building a
certification path. If the The given set is cloned to protect it against subsequent modifications.
| |
| setMaxPathLength | back to summary |
|---|---|
| public void setMaxPathLength(int maxPathLength) Sets the maximum number of intermediate non-self-issued certificates in a
certification path. The PKIX A value of 0 implies that the path can only contain a single certificate. A value of -1 does not limit the length. The default length is 5. The basic constraints extension of a CA certificate overrides this value if smaller.
| |
| setParams | back to summary |
|---|---|
| protected void setParams(PKIXParameters params) Overrides org. Can alse handle
| |