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
All Methods Instance Methods Concrete Methods 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.
-
-
-
Method Detail
-
engineInit
public void engineInit(KeyStore ks) throws KeyStoreException
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
public void engineInit(ManagerFactoryParameters spec) throws InvalidAlgorithmParameterException
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
public TrustManager[] 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()
-
-