java.lang.Object | |
↳ | java.security.cert.CertPathBuilder |
This class implements the functionality of a builder for an unverified Certification Paths from a specified certificate to a trust anchor.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
CertPathBuilder . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Builds a certification path with the specified algorithm parameters.
| |||||||||||
Returns the algorithm name of this instance.
| |||||||||||
Returns the default
CertPathBuilder type from the Security
Properties. | |||||||||||
Creates a new
CertPathBuilder instance from the specified
provider providing the specified algorithm. | |||||||||||
Creates a new
CertPathBuilder instance from the specified
provider providing the specified algorithm. | |||||||||||
Creates a new
CertPathBuilder instance with the specified
algorithm. | |||||||||||
Returns the provider of this instance.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
Creates a new CertPathBuilder
.
builderSpi | the implementation delegate. |
---|---|
provider | the provider. |
algorithm | the desired algorithm available at the provider. |
Builds a certification path with the specified algorithm parameters.
params | the algorithm parameters. |
---|
CertPathBuilderException | if the build fails. |
---|---|
InvalidAlgorithmParameterException | if the specified parameters cannot be used to build with this builder. |
Returns the algorithm name of this instance.
Returns the default CertPathBuilder
type from the Security
Properties.
CertPathBuilder
type from the Security
Properties, or the string "PKIX
" if it cannot be
determined.Creates a new CertPathBuilder
instance from the specified
provider providing the specified algorithm.
algorithm | the name of the algorithm. |
---|---|
provider | the name of the provider. |
NoSuchAlgorithmException | if the specified provider cannot provide the algorithm. |
---|---|
NoSuchProviderException | if no provider with the specified name can be found. |
NullPointerException | if algorithm is null . |
IllegalArgumentException | if provider is null or empty. |
Creates a new CertPathBuilder
instance from the specified
provider providing the specified algorithm.
algorithm | the name of the algorithm. |
---|---|
provider | the provider. |
NoSuchAlgorithmException | if the specified provider cannot provide the algorithm. |
---|---|
IllegalArgumentException | if provider is null . |
NullPointerException | if algorithm is null . |
Creates a new CertPathBuilder
instance with the specified
algorithm.
algorithm | the name of the algorithm. |
---|
NullPointerException | if the algorithm is null . |
---|---|
NoSuchAlgorithmException | if no installed provider can provide the algorithm. |
Returns the provider of this instance.