public class ReloadableTrustManagerFactory
extends io.netty.handler.ssl.util.SimpleTrustManagerFactory
Constructor and Description |
---|
ReloadableTrustManagerFactory(String trustStorePath,
String trustPasswordPath)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected TrustManager[] |
engineGetTrustManagers() |
protected void |
engineInit(KeyStore keyStore) |
protected void |
engineInit(ManagerFactoryParameters managerFactoryParameters) |
getAlgorithm, getDefaultAlgorithm, getInstance, getInstance, getInstance, getProvider, getTrustManagers, init, init
public ReloadableTrustManagerFactory(String trustStorePath, String trustPasswordPath) throws SSLException
trustStorePath
- Location of trust store.trustPasswordPath
- Location of trust store password.SSLException
- Thrown when there's an issue with loading the trust store.protected void engineInit(KeyStore keyStore) throws KeyStoreException
engineInit
in class io.netty.handler.ssl.util.SimpleTrustManagerFactory
KeyStoreException
protected void engineInit(ManagerFactoryParameters managerFactoryParameters) throws InvalidAlgorithmParameterException
engineInit
in class io.netty.handler.ssl.util.SimpleTrustManagerFactory
InvalidAlgorithmParameterException
protected TrustManager[] engineGetTrustManagers()
engineGetTrustManagers
in class io.netty.handler.ssl.util.SimpleTrustManagerFactory
Copyright © 2019 CorfuDB. All rights reserved.