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) |
getDefault
public TrustedSSLSocketFactory() throws IOException
IOException
public TrustedSSLSocketFactory(KeyStore trustStore) throws IOException
IOException
public TrustedSSLSocketFactory(SSLContext context) throws IOException
IOException
public Socket createSocket() throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress host, int port) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in class SocketFactory
IOException
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
public Socket createSocket(Socket s, String host, int port, boolean autoClose) throws IOException
createSocket
in class SSLSocketFactory
IOException
public String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class SSLSocketFactory
public String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class SSLSocketFactory
public void reload(KeyStore trustStore) throws IOException
IOException
public void reload(SSLContext context) throws IOException
IOException
Copyright © 2015 OpenEstate. All rights reserved.