com.sun.net.ssl
Class TrustManagerFactorySpi
java.lang.Object
|
+--com.sun.net.ssl.TrustManagerFactorySpi
- public abstract class TrustManagerFactorySpi
- extends Object
This class defines the Service Provider Interface (SPI)
for the TrustManagerFactory
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 trust manager factory.
Method Summary |
protected abstract TrustManager[] |
engineGetTrustManagers()
Returns one trust manager for each type of trust material. |
protected abstract void |
engineInit(KeyStore ks)
Initializes this factory with a source of certificate
authorities and related trust material. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
TrustManagerFactorySpi
public TrustManagerFactorySpi()
engineInit
protected abstract void engineInit(KeyStore ks)
throws KeyStoreException
- Initializes this factory with a source of certificate
authorities and related trust material. The
provider may also include a provider-specific source
of key material.
- Parameters:
ks
- the key store or null
engineGetTrustManagers
protected abstract TrustManager[] engineGetTrustManagers()
- Returns one trust manager for each type of trust material.
- Returns:
- the trust managers