public final class TuxedoSSLSocketFactory extends SSLSocketFactory
| Modifier and Type | Field and Description |
|---|---|
static String[] |
CIPHER0 |
static String[] |
CIPHER112 |
static String[] |
CIPHER128 |
static String[] |
CIPHER256 |
static String[] |
CIPHER56 |
defFactory, jsseFactory| Modifier and Type | Method and Description |
|---|---|
ServerSocket |
createServerSocket(int port,
int backlog,
InetAddress address)
Create a new server SSL socket.
|
Socket |
createSocket(InetAddress host,
int port)
Create a new outbound SSL socket observing channel binding
requirements on the server.
|
Socket |
createSocket(Socket socket,
String host,
int port,
boolean autoclose)
Create a new outbound SSL socket overlaid on an existing socket.
|
static String[] |
getCiphers(int minEncryptBits,
int maxEncryptBits) |
String[] |
getDefaultCipherSuites()
Returns the list of cipher suites which are enabled by default.
|
String[] |
getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use
on an SSL connection.
|
createSocket, createSocket, createSocket, createSocket, getDefaultcreateSocketpublic static final String[] CIPHER0
public static final String[] CIPHER56
public static final String[] CIPHER112
public static final String[] CIPHER128
public static final String[] CIPHER256
public Socket createSocket(InetAddress host, int port) throws IOException
createSocket in class SSLSocketFactoryhost - the host to connect toport - the port to connect toIOExceptionUnknownHostException - if the host is not knownpublic String[] getDefaultCipherSuites()
SSLSocketFactorygetDefaultCipherSuites in class SSLSocketFactorySSLSocketFactory.getSupportedCipherSuites()public String[] getSupportedCipherSuites()
SSLSocketFactorygetSupportedCipherSuites in class SSLSocketFactorypublic ServerSocket createServerSocket(int port, int backlog, InetAddress address) throws IOException
port - the port on which to listenbacklog - how many connections may be pending before the system should start rejecting new requestsaddress - the address of the network interface through which connections will be acceptedIOException - if an I/O error occurs when creating the socketpublic Socket createSocket(Socket socket, String host, int port, boolean autoclose) throws IOException
createSocket in class SSLSocketFactoryhost - the host to connect toport - the port to connect tosocket - the existing socketautoclose - close the underlying socket when this socket is closedIOExceptionUnknownHostException - if the host is not knownpublic static String[] getCiphers(int minEncryptBits, int maxEncryptBits)