java.lang.Object | |
↳ | javax.net.ssl.TrustManagerFactory |
The factory for TrustManager
s based on KeyStore
or provider
specific implementation.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
TrustManagerFactory instance. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the name of this
TrustManagerFactory algorithm
implementation. | |||||||||||
Returns the default algorithm name for the
TrustManagerFactory . | |||||||||||
Creates a new
TrustManagerFactory instance for the specified
trust management algorithm from the specified provider. | |||||||||||
Creates a new
TrustManagerFactory instance for the specified
trust management algorithm from the specified provider. | |||||||||||
Creates a new
TrustManagerFactory instance for the specified
trust management algorithm. | |||||||||||
Returns the provider for this
TrustManagerFactory instance. | |||||||||||
Returns the list of
TrustManager s with one entry for each type
of trust material. | |||||||||||
Initializes this factory instance with the specified provider-specific
parameters for a source of trust material.
| |||||||||||
Initializes this factory instance with the specified keystore as source
of certificate authorities and trust material.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
Creates a new TrustManagerFactory
instance.
factorySpi | the implementation delegate. |
---|---|
provider | the provider |
algorithm | the algorithm name. |
Returns the name of this TrustManagerFactory
algorithm
implementation.
TrustManagerFactory
algorithm
implementation.
Returns the default algorithm name for the TrustManagerFactory
. The
default algorithm name is specified by the security property
'ssl.TrustManagerFactory.algorithm'
.
Creates a new TrustManagerFactory
instance for the specified
trust management algorithm from the specified provider.
algorithm | the name of the requested trust management algorithm name. |
---|---|
provider | the name of the provider that provides the requested algorithm. |
NoSuchAlgorithmException | if the specified provider cannot provide the requested algorithm. |
---|---|
NoSuchProviderException | if the specified provider does not exist. |
NullPointerException | if algorithm is null (instead of
NoSuchAlgorithmException as in 1.4 release)
|
Creates a new TrustManagerFactory
instance for the specified
trust management algorithm from the specified provider.
algorithm | the name of the requested key management algorithm name. |
---|---|
provider | the provider that provides the requested algorithm. |
NoSuchAlgorithmException | if the specified provider cannot provide the requested algorithm. |
---|---|
NullPointerException | if algorithm is null (instead of
NoSuchAlgorithmException as in 1.4 release)
|
Creates a new TrustManagerFactory
instance for the specified
trust management algorithm.
algorithm | the name of the requested trust management algorithm. |
---|
NoSuchAlgorithmException | if no installed provider can provide the requested algorithm. |
---|---|
NullPointerException | if algorithm is null (instead of
NoSuchAlgorithmException as in 1.4 release)
|
Returns the provider for this TrustManagerFactory
instance.
TrustManagerFactory
instance.
Returns the list of TrustManager
s with one entry for each type
of trust material.
TrustManager
s
Initializes this factory instance with the specified provider-specific parameters for a source of trust material.
spec | the provider-specific parameters. |
---|
InvalidAlgorithmParameterException | if the initialization fails. |
---|
Initializes this factory instance with the specified keystore as source of certificate authorities and trust material.
ks | the keystore or null . |
---|
KeyStoreException | if the initialization fails. |
---|