org.apache.commons.ssl
Class CRLSocket
java.lang.Object
javax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
org.apache.commons.ssl.SSLClient
org.apache.commons.ssl.CRLSocket
public class CRLSocket
- extends SSLClient
Methods inherited from class org.apache.commons.ssl.SSLClient |
addTrustMaterial, createSocket, createSocket, createSocket, createSocket, createSocket, createSocket, createSocket, getAssociatedCertificateChain, getCheckCRL, getCheckExpiry, getCheckHostname, getConnectTimeout, getCurrentServerChain, getDefaultCipherSuites, getDefaultProtocol, getEnabledCiphers, getEnabledProtocols, getHostnameVerifier, getNeedClientAuth, getSoTimeout, getSSLContext, getSSLWrapperFactory, getSupportedCipherSuites, getTrustChain, getUseClientMode, getWantClientAuth, isSecure, setCheckCRL, setCheckExpiry, setCheckHostname, setConnectTimeout, setDefaultProtocol, setDnsOverride, setEnabledCiphers, setEnabledProtocols, setHostnameVerifier, setIsSecure, setKeyMaterial, setNeedClientAuth, setSoTimeout, setSSLWrapperFactory, setTrustMaterial, setUseClientMode, setWantClientAuth, useDefaultJavaCiphers, useStrongCiphers |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
secureInstance
private static final CRLSocket secureInstance
plainInstance
private static final CRLSocket plainInstance
CRLSocket
private CRLSocket()
throws GeneralSecurityException,
IOException
- Throws:
GeneralSecurityException
IOException
getDefault
public static SocketFactory getDefault()
getSecureInstance
public static CRLSocket getSecureInstance()
getPlainInstance
public static CRLSocket getPlainInstance()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception