public class SecureChatTrustManagerFactory extends TrustManagerFactorySpi
TrustManagerFactorySpi
which accepts any certificate
even if it is invalid.Constructor and Description |
---|
SecureChatTrustManagerFactory() |
Modifier and Type | Method and Description |
---|---|
protected TrustManager[] |
engineGetTrustManagers() |
protected void |
engineInit(KeyStore keystore) |
protected void |
engineInit(ManagerFactoryParameters managerFactoryParameters) |
static TrustManager[] |
getTrustManagers() |
public static TrustManager[] getTrustManagers()
protected TrustManager[] engineGetTrustManagers()
engineGetTrustManagers
in class TrustManagerFactorySpi
protected void engineInit(KeyStore keystore) throws KeyStoreException
engineInit
in class TrustManagerFactorySpi
KeyStoreException
protected void engineInit(ManagerFactoryParameters managerFactoryParameters) throws InvalidAlgorithmParameterException
engineInit
in class TrustManagerFactorySpi
InvalidAlgorithmParameterException
Copyright © 2008-2014 The Netty Project. All Rights Reserved.