public abstract class TrustManagerFactorySpi extends Object
TrustManagerFactory class.| Constructor and Description |
|---|
TrustManagerFactorySpi()
Creates a new
TrustManagerFactorySpi instance. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract TrustManager[] |
engineGetTrustManagers()
Returns the list of
TrustManagers with one entry for each type
of trust material. |
protected abstract void |
engineInit(KeyStore ks)
Initializes this factory instance with the specified keystore as source
of certificate authorities and trust material.
|
protected abstract void |
engineInit(ManagerFactoryParameters spec)
Initializes this factory instance with the specified provider-specific
parameters for a source of trust material.
|
public TrustManagerFactorySpi()
TrustManagerFactorySpi instance.protected abstract void engineInit(KeyStore ks) throws KeyStoreException
ks - the keystore or null.KeyStoreException - if the initialization fails.protected abstract void engineInit(ManagerFactoryParameters spec) throws InvalidAlgorithmParameterException
spec - the provider-specific parameters.InvalidAlgorithmParameterException - if the initialization fails.protected abstract TrustManager[] engineGetTrustManagers()
TrustManagers with one entry for each type
of trust material.TrustManagers