com.sun.net.ssl
Class KeyManagerFactorySpi

java.lang.Object
  |
  +--com.sun.net.ssl.KeyManagerFactorySpi

public abstract class KeyManagerFactorySpi
extends java.lang.Object

This class defines the Service Provider Interface (SPI) for the KeyManagerFactory class.

All the abstract methods in this class must be implemented by each cryptographic service provider who wishes to supply the implementation of a particular key manager factory.


Constructor Summary
KeyManagerFactorySpi()
           
 
Method Summary
protected abstract  KeyManager[] engineGetKeyManagers()
          Returns one trust manager for each type of trust material.
protected abstract  void engineInit(java.security.KeyStore ks, char[] password)
          Initializes this factory with a source of key material.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyManagerFactorySpi

public KeyManagerFactorySpi()
Method Detail

engineInit

protected abstract void engineInit(java.security.KeyStore ks,
                                   char[] password)
                            throws java.security.KeyStoreException,
                                   java.security.NoSuchAlgorithmException,
                                   java.security.UnrecoverableKeyException
Initializes this factory with a source of key material. The provider may also include a provider-specific source of key material.
Parameters:
ks - the key store or null
password - the password for recovering keys

engineGetKeyManagers

protected abstract KeyManager[] engineGetKeyManagers()
Returns one trust manager for each type of trust material.