public class TrustedSSLSocketFactory extends SSLSocketFactory
| Constructor and Description |
|---|
TrustedSSLSocketFactory() |
TrustedSSLSocketFactory(KeyStore trustStore) |
TrustedSSLSocketFactory(SSLContext context) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress host,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(Socket s,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localHost,
int localPort) |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
void |
reload(KeyStore trustStore) |
void |
reload(SSLContext context) |
getDefaultpublic TrustedSSLSocketFactory()
throws IOException
IOExceptionpublic TrustedSSLSocketFactory(KeyStore trustStore) throws IOException
IOExceptionpublic TrustedSSLSocketFactory(SSLContext context) throws IOException
IOExceptionpublic Socket createSocket() throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress host, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(Socket s, String host, int port, boolean autoClose) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactorypublic void reload(KeyStore trustStore) throws IOException
IOExceptionpublic void reload(SSLContext context) throws IOException
IOExceptionCopyright © 2015 OpenEstate. All rights reserved.