Class SimpleTrustManagerFactory
java.lang.Object
javax.net.ssl.TrustManagerFactory
io.netty.handler.ssl.util.SimpleTrustManagerFactory
- Direct Known Subclasses:
FingerprintTrustManagerFactory, InsecureTrustManagerFactory, TrustManagerFactoryWrapper
Helps to implement a custom
TrustManagerFactory.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance.protectedCreates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract TrustManager[]Returns one trust manager for each type of trust material.protected abstract voidengineInit(KeyStore keyStore) Initializes this factory with a source of certificate authorities and related trust material.protected abstract voidengineInit(ManagerFactoryParameters managerFactoryParameters) Initializes this factory with a source of provider-specific key material.Methods inherited from class TrustManagerFactory
getAlgorithm, getDefaultAlgorithm, getInstance, getInstance, getInstance, getProvider, getTrustManagers, init, init
-
Constructor Details
-
SimpleTrustManagerFactory
protected SimpleTrustManagerFactory()Creates a new instance. -
SimpleTrustManagerFactory
Creates a new instance.- Parameters:
name- the name of thisTrustManagerFactory
-
-
Method Details
-
engineInit
-
engineInit
protected abstract void engineInit(ManagerFactoryParameters managerFactoryParameters) throws Exception Initializes this factory with a source of provider-specific key material.- Throws:
Exception- See Also:
-
engineGetTrustManagers
Returns one trust manager for each type of trust material.- See Also:
-