|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.jcajce.PKIXExtendedBuilderParameters.Builder
Constructor Summary | |
PKIXExtendedBuilderParameters.Builder(PKIXBuilderParameters baseParameters)
|
|
PKIXExtendedBuilderParameters.Builder(PKIXExtendedParameters baseParameters)
|
Method Summary | |
PKIXExtendedBuilderParameters.Builder |
addExcludedCerts(java.util.Set excludedCerts)
Adds excluded certificates which are not used for building a certification path. |
PKIXExtendedBuilderParameters |
build()
|
PKIXExtendedBuilderParameters.Builder |
setMaxPathLength(int maxPathLength)
Sets the maximum number of intermediate non-self-issued certificates in a certification path. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PKIXExtendedBuilderParameters.Builder(PKIXBuilderParameters baseParameters)
public PKIXExtendedBuilderParameters.Builder(PKIXExtendedParameters baseParameters)
Method Detail |
public PKIXExtendedBuilderParameters.Builder addExcludedCerts(java.util.Set excludedCerts)
The given set is cloned to protect it against subsequent modifications.
excludedCerts
- The excluded certificates to set.public PKIXExtendedBuilderParameters.Builder setMaxPathLength(int maxPathLength)
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.
maxPathLength
- the maximum number of non-self-issued intermediate
certificates in the certification pathjava.security.InvalidParameterException
- if maxPathLength is set
to a value less than -1PKIXExtendedBuilderParameters.getMaxPathLength()
public PKIXExtendedBuilderParameters build()
|
Bouncy Castle Cryptography Library 1.77.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |