javax.net.ssl
Class TrustManagerFactorySpi

java.lang.Object
  extended by javax.net.ssl.TrustManagerFactorySpi

public abstract class TrustManagerFactorySpi
extends Object

The service provider interface (SPI) for trust managers.


Constructor Summary
TrustManagerFactorySpi()
           
 
Method Summary
protected abstract  TrustManager[] engineGetTrustManagers()
          Engine method that returns the trust managers created by this factory.
protected abstract  void engineInit(KeyStore store)
          Engine method that initializes this factory with a key store.
protected abstract  void engineInit(ManagerFactoryParameters params)
          Engine method that initializes this factory with some algorithm-specific parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrustManagerFactorySpi

public TrustManagerFactorySpi()
Method Detail

engineGetTrustManagers

protected abstract TrustManager[] engineGetTrustManagers()
Engine method that returns the trust managers created by this factory.

Returns:
The trust managers.

engineInit

protected abstract void engineInit(ManagerFactoryParameters params)
                            throws InvalidAlgorithmParameterException
Engine method that initializes this factory with some algorithm-specific parameters.

Parameters:
params - The parameters.
Throws:
InvalidAlgorithmParameterException - If the given parameters are inappropriate.

engineInit

protected abstract void engineInit(KeyStore store)
                            throws KeyStoreException
Engine method that initializes this factory with a key store. The key store parameter may be null, in which case some default should be used.

Parameters:
store - The key store.
Throws:
KeyStoreException - If a problem occurs reading from the key store.