public abstract class TrustManagerFactorySpi
extends java.lang.Object
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.
TrustManagerFactory
,
TrustManager
Constructor and Description |
---|
TrustManagerFactorySpi() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected abstract void engineInit(KeyStore ks) throws KeyStoreException
ks
- the key store or nullKeyStoreException
- if this operation failsTrustManagerFactory.init(KeyStore)
protected abstract TrustManager[] engineGetTrustManagers()
java.lang.IllegalStateException
- if the factory is not initialized.