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(java.security.KeyStore ks)
Initializes this factory with a source of certificate authorities and related trust material.
|
protected abstract void engineInit(@Nullable
java.security.KeyStore ks)
throws java.security.KeyStoreException
ks - the key store or nulljava.security.KeyStoreException - if this operation failsTrustManagerFactory.init(KeyStore)protected abstract TrustManager[] engineGetTrustManagers()
java.lang.IllegalStateException - if the factory is not initialized.