public abstract class BaseOpenSSLSocketAdapterFactory extends SSLSocketFactory
| Modifier | Constructor and Description |
|---|---|
protected |
BaseOpenSSLSocketAdapterFactory(org.conscrypt.OpenSSLSocketFactoryImpl delegate) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress address,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(Socket s,
String hostname,
int port,
boolean autoClose) |
Socket |
createSocket(String hostname,
int port) |
Socket |
createSocket(String hostname,
int port,
InetAddress localHost,
int localPort) |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
protected abstract Socket |
wrap(OpenSSLSocketImpl sock)
Wraps the provided unbundled conscrypt SSLSocket into a platform bundled conscrypt
SSLSocket.
|
createSocket, getDefaultprotected BaseOpenSSLSocketAdapterFactory(org.conscrypt.OpenSSLSocketFactoryImpl delegate)
public String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactorypublic Socket createSocket() throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String hostname, int port) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionpublic Socket createSocket(InetAddress address, 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(Socket s, String hostname, int port, boolean autoClose) throws IOException
createSocket in class SSLSocketFactoryIOExceptionprotected abstract Socket wrap(OpenSSLSocketImpl sock) throws IOException
IOException