KeyManagerFactory

public class KeyManagerFactory extends Object

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.

See Also

Protected Constructor Summary

KeyManagerFactory(KeyManagerFactorySpi factorySpi, Provider provider, String algorithm)
Creates a KeyManagerFactory object.

Public Method Summary

final String
getAlgorithm()
Returns the algorithm name of this KeyManagerFactory object.
final static String
getDefaultAlgorithm()
Obtains the default KeyManagerFactory algorithm name.
final static KeyManagerFactory
getInstance(String algorithm)
Returns a KeyManagerFactory object that acts as a factory for key managers.
final static KeyManagerFactory
getInstance(String algorithm, String provider)
Returns a KeyManagerFactory object that acts as a factory for key managers.
final static KeyManagerFactory
getInstance(String algorithm, Provider provider)
Returns a KeyManagerFactory object that acts as a factory for key managers.
final KeyManager[]
getKeyManagers()
Returns one key manager for each type of key material.
final