javax.net.ssl

Class 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 voidengineInit(ManagerFactoryParameters params)
Engine method that initializes this factory with some algorithm-specific parameters.
protected abstract voidengineInit(KeyStore store)
Engine method that initializes this factory with a key store.

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