Package org.bouncycastle.jcajce
Class PKIXExtendedBuilderParameters
- java.lang.Object
-
- org.bouncycastle.jcajce.PKIXExtendedBuilderParameters
-
- All Implemented Interfaces:
Cloneable,CertPathParameters
public class PKIXExtendedBuilderParameters extends Object implements CertPathParameters
This class contains extended parameters for PKIX certification path builders.- See Also:
PKIXBuilderParameters
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPKIXExtendedBuilderParameters.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Creates and returns a copy of thisObject.PKIXExtendedParametersgetBaseParameters()SetgetExcludedCerts()Excluded certificates are not used for building a certification path.intgetMaxPathLength()Returns the value of the maximum number of intermediate non-self-issued certificates in the certification path.
-
-
-
Method Detail
-
getBaseParameters
public PKIXExtendedParameters getBaseParameters()
-
getExcludedCerts
public Set getExcludedCerts()
Excluded certificates are not used for building a certification path.The returned set is immutable.
- Returns:
- Returns the excluded certificates.
-
getMaxPathLength
public int getMaxPathLength()
Returns the value of the maximum number of intermediate non-self-issued certificates in the certification path.- Returns:
- the maximum number of non-self-issued intermediate certificates in the certification path, or -1 if no limit exists.
-
clone
public Object clone()
Description copied from class:ObjectCreates and returns a copy of thisObject. The default implementation returns a so-called "shallow" copy: It creates a new instance of the same class and then copies the field values (including object references) from this instance to the new instance. A "deep" copy, in contrast, would also recursively clone nested objects. A subclass that needs to implement this kind of cloning should callsuper.clone()to create the new instance and then create deep copies of the nested, mutable objects.- Specified by:
clonein interfaceCertPathParameters- Overrides:
clonein classObject- Returns:
- this object
-
-