Package org.conscrypt
Class TrustManagerFactoryImpl
java.lang.Object
javax.net.ssl.TrustManagerFactorySpi
org.conscrypt.TrustManagerFactoryImpl
public class TrustManagerFactoryImpl extends TrustManagerFactorySpi
TrustManagerFactory service provider interface implementation.
- See Also:
TrustManagerFactorySpi
-
Constructor Summary
Constructors Constructor Description TrustManagerFactoryImpl() -
Method Summary
Modifier and Type Method Description TrustManager[]engineGetTrustManagers()Returns the list ofTrustManagers with one entry for each type of trust material.voidengineInit(KeyStore ks)Initializes this factory instance with the specified keystore as source of certificate authorities and trust material.voidengineInit(ManagerFactoryParameters spec)Initializes this factory instance with the specified provider-specific parameters for a source of trust material.
-
Constructor Details
-
TrustManagerFactoryImpl
public TrustManagerFactoryImpl()
-
-
Method Details
-
engineInit
Description copied from class:TrustManagerFactorySpiInitializes this factory instance with the specified keystore as source of certificate authorities and trust material.- Specified by:
engineInitin classTrustManagerFactorySpi- Parameters:
ks- the keystore ornull.- Throws:
KeyStoreException- if the initialization fails.- See Also:
TrustManagerFactorySpi.engineInit(KeyStore)
-
engineInit
Description copied from class:TrustManagerFactorySpiInitializes this factory instance with the specified provider-specific parameters for a source of trust material.- Specified by:
engineInitin classTrustManagerFactorySpi- Parameters:
spec- the provider-specific parameters.- Throws:
InvalidAlgorithmParameterException- if the initialization fails.- See Also:
javax.net.ssl#engineInit(ManagerFactoryParameters)
-
engineGetTrustManagers
Description copied from class:TrustManagerFactorySpiReturns the list ofTrustManagers with one entry for each type of trust material.- Specified by:
engineGetTrustManagersin classTrustManagerFactorySpi- Returns:
- the list of
TrustManagers - See Also:
javax.net.ssl#engineGetTrustManagers()
-