- java.lang.Object
-
- javax.net.ssl.TrustManagerFactory
-
- io.netty5.handler.ssl.util.SimpleTrustManagerFactory
-
- io.netty5.handler.ssl.util.TrustManagerFactoryWrapper
-
public final class TrustManagerFactoryWrapper extends SimpleTrustManagerFactory
-
-
Constructor Summary
Constructors Constructor Description TrustManagerFactoryWrapper(TrustManager tm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TrustManager[]
engineGetTrustManagers()
Returns one trust manager for each type of trust material.protected void
engineInit(KeyStore keyStore)
Initializes this factory with a source of certificate authorities and related trust material.protected void
engineInit(ManagerFactoryParameters managerFactoryParameters)
Initializes this factory with a source of provider-specific key material.-
Methods inherited from class javax.net.ssl.TrustManagerFactory
getAlgorithm, getDefaultAlgorithm, getInstance, getInstance, getInstance, getProvider, getTrustManagers, init, init
-
-
-
-
Constructor Detail
-
TrustManagerFactoryWrapper
public TrustManagerFactoryWrapper(TrustManager tm)
-
-
Method Detail
-
engineInit
protected void engineInit(KeyStore keyStore) throws Exception
Description copied from class:SimpleTrustManagerFactory
Initializes this factory with a source of certificate authorities and related trust material.- Specified by:
engineInit
in classSimpleTrustManagerFactory
- Throws:
Exception
- See Also:
TrustManagerFactorySpi.engineInit(KeyStore)
-
engineInit
protected void engineInit(ManagerFactoryParameters managerFactoryParameters) throws Exception
Description copied from class:SimpleTrustManagerFactory
Initializes this factory with a source of provider-specific key material.- Specified by:
engineInit
in classSimpleTrustManagerFactory
- Throws:
Exception
- See Also:
TrustManagerFactorySpi.engineInit(ManagerFactoryParameters)
-
engineGetTrustManagers
protected TrustManager[] engineGetTrustManagers()
Description copied from class:SimpleTrustManagerFactory
Returns one trust manager for each type of trust material.- Specified by:
engineGetTrustManagers
in classSimpleTrustManagerFactory
- See Also:
TrustManagerFactorySpi.engineGetTrustManagers()
-
-