public class ExtendedSSLSocketFactory extends SSLSocketFactory
Constructor and Description |
---|
ExtendedSSLSocketFactory() |
ExtendedSSLSocketFactory(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) |
static SSLContext |
createSSLContext() |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
static void |
init(CallbackTrustManager.Callback callback,
KeyStore trustStore,
char[] trustStorePassword) |
createSocket, getDefault
public ExtendedSSLSocketFactory() throws KeyManagementException, NoSuchAlgorithmException
public ExtendedSSLSocketFactory(SSLContext context)
public static SSLContext createSSLContext() throws NoSuchAlgorithmException, KeyManagementException
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
createSocket
in class SocketFactory
IOException
public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException
createSocket
in class SocketFactory
IOException
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 static void init(CallbackTrustManager.Callback callback, KeyStore trustStore, char[] trustStorePassword) throws KeyManagementException, NoSuchAlgorithmException
Copyright © 2019 OpenEstate. All rights reserved.