Package io.netty.handler.ssl.util
Class SimpleTrustManagerFactory
- java.lang.Object
-
- javax.net.ssl.TrustManagerFactory
-
- io.netty.handler.ssl.util.SimpleTrustManagerFactory
-
- Direct Known Subclasses:
FingerprintTrustManagerFactory,InsecureTrustManagerFactory,TrustManagerFactoryWrapper
public abstract class SimpleTrustManagerFactory extends javax.net.ssl.TrustManagerFactoryHelps to implement a customTrustManagerFactory.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSimpleTrustManagerFactory()Creates a new instance.protectedSimpleTrustManagerFactory(java.lang.String name)Creates a new instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description protected abstract javax.net.ssl.TrustManager[]engineGetTrustManagers()Returns one trust manager for each type of trust material.protected abstract voidengineInit(java.security.KeyStore keyStore)Initializes this factory with a source of certificate authorities and related trust material.protected abstract voidengineInit(javax.net.ssl.ManagerFactoryParameters managerFactoryParameters)Initializes this factory with a source of provider-specific key material.
-
-
-
Method Detail
-
engineInit
protected abstract void engineInit(java.security.KeyStore keyStore) throws java.lang.ExceptionInitializes this factory with a source of certificate authorities and related trust material.- Throws:
java.lang.Exception- See Also:
TrustManagerFactorySpi.engineInit(KeyStore)
-
engineInit
protected abstract void engineInit(javax.net.ssl.ManagerFactoryParameters managerFactoryParameters) throws java.lang.ExceptionInitializes this factory with a source of provider-specific key material.- Throws:
java.lang.Exception- See Also:
TrustManagerFactorySpi.engineInit(ManagerFactoryParameters)
-
engineGetTrustManagers
protected abstract javax.net.ssl.TrustManager[] engineGetTrustManagers()
Returns one trust manager for each type of trust material.- See Also:
TrustManagerFactorySpi.engineGetTrustManagers()
-
-