public final class TuxedoSSLSocketFactory extends SSLSocketFactory
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String[] |
CIPHER0 |
|
static java.lang.String[] |
CIPHER112 |
|
static java.lang.String[] |
CIPHER128 |
|
static java.lang.String[] |
CIPHER256 |
|
static java.lang.String[] |
CIPHER56 |
defFactory, jsseFactory| Modifier and Type | Method | Description |
|---|---|---|
java.net.ServerSocket |
createServerSocket(int port,
int backlog,
java.net.InetAddress address) |
Create a new server SSL socket.
|
java.net.Socket |
createSocket(java.net.InetAddress host,
int port) |
Create a new outbound SSL socket observing channel binding
requirements on the server.
|
java.net.Socket |
createSocket(java.net.Socket socket,
java.lang.String host,
int port,
boolean autoclose) |
Create a new outbound SSL socket overlaid on an existing socket.
|
static java.lang.String[] |
getCiphers(int minEncryptBits,
int maxEncryptBits) |
|
java.lang.String[] |
getDefaultCipherSuites() |
Returns the list of cipher suites which are enabled by default.
|
java.lang.String[] |
getSupportedCipherSuites() |
Returns the names of the cipher suites which could be enabled for use
on an SSL connection.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSocket, createSocket, createSocket, createSocket, getDefaultpublic static final java.lang.String[] CIPHER0
public static final java.lang.String[] CIPHER56
public static final java.lang.String[] CIPHER112
public static final java.lang.String[] CIPHER128
public static final java.lang.String[] CIPHER256
public java.net.Socket createSocket(java.net.InetAddress host,
int port)
throws java.io.IOException
createSocket in class SSLSocketFactoryhost - the host to connect toport - the port to connect tojava.io.IOExceptionjava.net.UnknownHostException - if the host is not knownpublic java.lang.String[] getDefaultCipherSuites()
SSLSocketFactorygetDefaultCipherSuites in class SSLSocketFactorySSLSocketFactory.getSupportedCipherSuites()public java.lang.String[] getSupportedCipherSuites()
SSLSocketFactorygetSupportedCipherSuites in class SSLSocketFactorypublic java.net.ServerSocket createServerSocket(int port,
int backlog,
java.net.InetAddress address)
throws java.io.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 acceptedjava.io.IOException - if an I/O error occurs when creating the socketpublic java.net.Socket createSocket(java.net.Socket socket,
java.lang.String host,
int port,
boolean autoclose)
throws java.io.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 closedjava.io.IOExceptionjava.net.UnknownHostException - if the host is not knownpublic static java.lang.String[] getCiphers(int minEncryptBits,
int maxEncryptBits)