org.jboss.netty.example.securechat
Class SecureChatTrustManagerFactory
java.lang.Object
javax.net.ssl.TrustManagerFactorySpi
org.jboss.netty.example.securechat.SecureChatTrustManagerFactory
public class SecureChatTrustManagerFactory
- extends TrustManagerFactorySpi
Bogus TrustManagerFactorySpi
which accepts any certificate
even if it is invalid.
- Version:
- $Rev: 2080 $, $Date: 2010-01-26 18:04:19 +0900 (Tue, 26 Jan 2010) $
- Author:
- The Netty Project, Trustin Lee
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecureChatTrustManagerFactory
public SecureChatTrustManagerFactory()
getTrustManagers
public static TrustManager[] getTrustManagers()
engineGetTrustManagers
protected TrustManager[] engineGetTrustManagers()
- Specified by:
engineGetTrustManagers
in class TrustManagerFactorySpi
engineInit
protected void engineInit(KeyStore keystore)
throws KeyStoreException
- Specified by:
engineInit
in class TrustManagerFactorySpi
- Throws:
KeyStoreException
engineInit
protected void engineInit(ManagerFactoryParameters managerFactoryParameters)
throws InvalidAlgorithmParameterException
- Specified by:
engineInit
in class TrustManagerFactorySpi
- Throws:
InvalidAlgorithmParameterException
Copyright © 2008-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.