public class RestrictedSSLSocketFactory extends SSLSocketFactory
| Constructor and Description |
|---|
RestrictedSSLSocketFactory(SSLContext sslContext,
String[] cipherSuites,
String[] protocols) |
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress address,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress clientAddress,
int clientPort) |
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoClose) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress clientAddress,
int clientPort) |
static SocketFactory |
getDefault() |
String[] |
getDefaultCipherSuites() |
String[] |
getSupportedCipherSuites() |
createSocketpublic RestrictedSSLSocketFactory(SSLContext sslContext, String[] cipherSuites, String[] protocols)
public Socket createSocket(String host, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(String host, int port, InetAddress clientAddress, int clientPort) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress address, int port) throws IOException
createSocket in class SocketFactoryIOExceptionpublic Socket createSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort) throws IOException
createSocket in class SocketFactoryIOExceptionpublic String[] getDefaultCipherSuites()
getDefaultCipherSuites in class SSLSocketFactorypublic String[] getSupportedCipherSuites()
getSupportedCipherSuites in class SSLSocketFactorypublic Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException
createSocket in class SSLSocketFactoryIOExceptionpublic Socket createSocket() throws IOException
createSocket in class SocketFactoryIOExceptionpublic static SocketFactory getDefault()
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.