java.lang.Object | |
↳ | com.sun.net.ssl.KeyManagerFactory |
This class is deprecated.
As of JDK 1.4, this implementation-specific class was
replaced by KeyManagerFactory
.
This class acts as a factory for key managers based on a source of key material. Each key manager manages a specific type of key material for use by secure sockets. The key material is based on a KeyStore and/or provider specific sources.
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a KeyManagerFactory object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the algorithm name of this
KeyManagerFactory object. | |||||||||||
The default KeyManager can be changed by setting the value of the "sun.ssl.keymanager.type" security property (in the Java security properties file) to the desired name. | |||||||||||
Generates a
KeyManagerFactory object for the specified
key management algorithm from the specified provider. | |||||||||||
Generates a
KeyManagerFactory object for the specified
key management algorithm from the specified provider. | |||||||||||
Generates a
KeyManagerFactory object that implements the
specified key management algorithm. | |||||||||||
Returns one key manager for each type of key material.
| |||||||||||
Returns the provider of this
KeyManagerFactory object. | |||||||||||
Initializes this factory with a source of key material.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a KeyManagerFactory object.
factorySpi | the delegate |
---|---|
provider | the provider |
algorithm | the algorithm |
Returns the algorithm name of this KeyManagerFactory
object.
This is the same name that was specified in one of the
getInstance
calls that created this
KeyManagerFactory
object.
KeyManagerFactory
object.
The default KeyManager can be changed by setting the value of the "sun.ssl.keymanager.type" security property (in the Java security properties file) to the desired name.
Generates a KeyManagerFactory
object for the specified
key management algorithm from the specified provider.
algorithm | the standard name of the requested algorithm. |
---|---|
provider | the name of the provider |
KeyManagerFactory
objectNoSuchAlgorithmException | if the specified algorithm is not available from the specified provider. |
---|---|
NoSuchProviderException | if the specified provider has not been configured. |
Generates a KeyManagerFactory
object for the specified
key management algorithm from the specified provider.
algorithm | the standard name of the requested algorithm. |
---|---|
provider | an instance of the provider |
KeyManagerFactory
objectNoSuchAlgorithmException | if the specified algorithm is not available from the specified provider. |
---|
Generates a KeyManagerFactory
object that implements the
specified key management algorithm.
If the default provider package provides an implementation of the
requested key management algorithm, an instance of
KeyManagerFactory
containing that implementation is
returned. If the algorithm is not available in the default provider
package, other provider packages are searched.
algorithm | the standard name of the requested algorithm. |
---|
KeyManagerFactory
objectNoSuchAlgorithmException | if the specified algorithm is not available in the default provider package or any of the other provider packages that were searched. |
---|
Returns one key manager for each type of key material.
Returns the provider of this KeyManagerFactory
object.
KeyManagerFactory
object
Initializes this factory with a source of key material. The provider may also include a provider-specific source of key material.
ks | the key store or null |
---|---|
password | the password for recovering keys |