javax.net.ssl

Class TrustManagerFactorySpi

Known Direct Subclasses:
SRPTrustManagerFactory, X509TrustManagerFactory

public abstract class TrustManagerFactorySpi
extends java.lang.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.

Constructor Details

TrustManagerFactorySpi

public TrustManagerFactorySpi()

Method Details

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(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.

engineInit

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