public class TrustManagerFactoryImpl extends TrustManagerFactorySpi
TrustManagerFactorySpi| Constructor and Description |
|---|
TrustManagerFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
TrustManager[] |
engineGetTrustManagers()
Returns the list of
TrustManagers with one entry for each type
of trust material. |
void |
engineInit(KeyStore ks)
Initializes this factory instance with the specified keystore as source
of certificate authorities and trust material.
|
void |
engineInit(ManagerFactoryParameters spec)
Initializes this factory instance with the specified provider-specific
parameters for a source of trust material.
|
public void engineInit(KeyStore ks) throws KeyStoreException
TrustManagerFactorySpiengineInit in class TrustManagerFactorySpiks - the keystore or null.KeyStoreException - if the initialization fails.TrustManagerFactorySpi.engineInit(KeyStore)public void engineInit(ManagerFactoryParameters spec) throws InvalidAlgorithmParameterException
TrustManagerFactorySpiengineInit in class TrustManagerFactorySpispec - the provider-specific parameters.InvalidAlgorithmParameterException - if the initialization fails.javax.net.ssl#engineInit(ManagerFactoryParameters)public TrustManager[] engineGetTrustManagers()
TrustManagerFactorySpiTrustManagers with one entry for each type
of trust material.engineGetTrustManagers in class TrustManagerFactorySpiTrustManagersjavax.net.ssl#engineGetTrustManagers()