org.metastatic.jessie.provider

Class SRPTrustManagerFactory


public class SRPTrustManagerFactory
extends TrustManagerFactorySpi

This is an implementation of a TrustManagerFactory engine for the ``SRP'' algorithm. You must initialize instances of this algorithm with SRPManagerParameters.

Constructor Summary

SRPTrustManagerFactory()

Method Summary

protected TrustManager[]
engineGetTrustManagers()
Engine method that returns the trust managers created by this factory.
protected void
engineInit(KeyStore ks)
Engine method that initializes this factory with a key store.
protected void
engineInit(ManagerFactoryParameters params)
Engine method that initializes this factory with some algorithm-specific parameters.

Methods inherited from class javax.net.ssl.TrustManagerFactorySpi

engineGetTrustManagers, engineInit, engineInit

Constructor Details

SRPTrustManagerFactory

public SRPTrustManagerFactory()

Method Details

engineGetTrustManagers

protected TrustManager[] engineGetTrustManagers()
Engine method that returns the trust managers created by this factory.
Overrides:
engineGetTrustManagers in interface TrustManagerFactorySpi
Returns:
The trust managers.

engineInit

protected void engineInit(KeyStore ks)
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.
Overrides:
engineInit in interface TrustManagerFactorySpi
Parameters:

engineInit

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