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