PKIXBuilderParameters
| Modifier and Type | Class and Description |
|---|---|
| public static class | PKIXExtendedBuilderParameters.
Builder for a PKIXExtendedBuilderParameters object. |
| Modifier and Type | Field and Description |
|---|---|
| private final PKIXExtendedParameters | |
| private final Set | |
| private final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: this objectOverrides java. Implements java. Makes a copy of this |
| public PKIXExtendedParameters | |
| public Set | Returns: Returns the excluded certificates.Excluded certificates are not used for building a certification path. |
| 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. |
| baseParameters | back to summary |
|---|---|
| private final PKIXExtendedParameters baseParameters | |
| excludedCerts | back to summary |
|---|---|
| private final Set<X509Certificate> excludedCerts | |
| maxPathLength | back to summary |
|---|---|
| private final int maxPathLength | |
| PKIXExtendedBuilderParameters | back to summary |
|---|---|
| private PKIXExtendedBuilderParameters(PKIXExtendedBuilderParameters. | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Implements java. Doc from java. Makes a copy of this
| |
| getBaseParameters | back to summary |
|---|---|
| public PKIXExtendedParameters getBaseParameters() | |
| getExcludedCerts | back to summary |
|---|---|
| public Set Excluded certificates are not used for building a certification path. The returned set is immutable.
| |
| getMaxPathLength | back to summary |
|---|---|
| public int getMaxPathLength() Returns the value of the maximum number of intermediate non-self-issued certificates in the certification path.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final PKIXExtendedParameters | |
| private Set | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public PKIXExtendedBuilderParameters. | addExcludedCerts(Set<X509Certificate>
The excluded certificates to set. excludedCerts)Adds excluded certificates which are not used for building a certification path. |
| public PKIXExtendedBuilderParameters | |
| public PKIXExtendedBuilderParameters. | 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. |
| baseParameters | back to summary |
|---|---|
| private final PKIXExtendedParameters baseParameters | |
| excludedCerts | back to summary |
|---|---|
| private Set<X509Certificate> excludedCerts | |
| maxPathLength | back to summary |
|---|---|
| private int maxPathLength | |
| Builder | back to summary |
|---|---|
| public Builder(PKIXBuilderParameters baseParameters) | |
| Builder | back to summary |
|---|---|
| public Builder(PKIXExtendedParameters baseParameters) | |
| addExcludedCerts | back to summary |
|---|---|
| public PKIXExtendedBuilderParameters. Adds excluded certificates which are not used for building a certification path. The given set is cloned to protect it against subsequent modifications.
| |
| build | back to summary |
|---|---|
| public PKIXExtendedBuilderParameters build() | |
| setMaxPathLength | back to summary |
|---|---|
| public PKIXExtendedBuilderParameters. 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.
| |