Returns a KeyManagerFactory object that acts as a
factory for key managers.
A new KeyManagerFactory object encapsulating the KeyManagerFactorySpi implementation from the specified provider is returned. The specified provider must be registered in the security provider list.
Note that the list of registered providers may be retrieved via
the Security.getProviders() method.
algorithm | the standard name of the requested algorithm. See the Java Secure Socket Extension Reference Guide for information about standard algorithm names. | |
provider | the name of the provider. |
KeyManagerFactory object.
NoSuchAlgorithmException | if a KeyManagerFactorySpi implementation for the specified algorithm is not available from the specified provider. | |
NoSuchProviderException | if the specified provider is not registered in the security provider list. | |
IllegalArgumentException | if the provider name is null or empty. | |
NullPointerException | if algorithm is null. |
java.security.Provider
Diagram: KeyManager