TuxedoSSLSocketFactory
public class SSLSocketFactory extends WeblogicSocketFactory
Modifier and Type | Field | Description |
---|---|---|
protected static javax.net.SocketFactory |
defFactory |
|
protected javax.net.ssl.SSLSocketFactory |
jsseFactory |
Modifier and Type | Method | Description |
---|---|---|
java.net.Socket |
createSocket(java.lang.String host,
int port) |
Returns a socket connected to a ServerSocket on the named host, at
the given port.
|
java.net.Socket |
createSocket(java.lang.String host,
int port,
java.net.InetAddress clientAddress,
int clientPort) |
Returns a socket connected to a ServerSocket on the named host, at
the given port.
|
java.net.Socket |
createSocket(java.net.InetAddress address,
int port) |
Returns a socket connected to a ServerSocket at the specified network address
and port.
|
java.net.Socket |
createSocket(java.net.InetAddress host,
int port,
int connectionTimeoutMillis) |
|
java.net.Socket |
createSocket(java.net.InetAddress address,
int port,
java.net.InetAddress clientAddress,
int clientPort) |
Returns a socket connected to a ServerSocket at the specified network address
and port.
|
java.net.Socket |
createSocket(java.net.Socket socket,
java.lang.String host,
int port,
boolean autoClose) |
Returns a socket layered over an existing socket to a ServerSocket on the named
host, at the given port.
|
static javax.net.SocketFactory |
getDefault() |
Returns the default SSL socket factory.
|
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.
|
protected static javax.net.SocketFactory defFactory
protected javax.net.ssl.SSLSocketFactory jsseFactory
public static javax.net.SocketFactory getDefault()
public java.net.Socket createSocket(java.net.Socket socket, java.lang.String host, int port, boolean autoClose) throws java.net.UnknownHostException, java.io.IOException
socket
- the existing sockethost
- the server hostport
- the server portautoClose
- close the underlying socket when this socket is closedjava.io.IOException
- if the connection can't be establishedjava.net.UnknownHostException
- if the host is not knownpublic java.net.Socket createSocket(java.lang.String host, int port) throws java.net.UnknownHostException, java.io.IOException
createSocket
in class javax.net.SocketFactory
host
- the server hostport
- the server portjava.io.IOException
- if the connection can't be establishedjava.net.UnknownHostException
- if the host is not knownpublic java.net.Socket createSocket(java.net.InetAddress address, int port) throws java.net.UnknownHostException, java.io.IOException
createSocket
in class javax.net.SocketFactory
address
- the server network addressport
- the server portjava.io.IOException
- if the connection can't be establishedjava.net.UnknownHostException
- if the host is not knownpublic java.net.Socket createSocket(java.lang.String host, int port, java.net.InetAddress clientAddress, int clientPort) throws java.net.UnknownHostException, java.io.IOException
createSocket
in class javax.net.SocketFactory
host
- the server hostport
- the server portclientAddress
- the client network addressclientPort
- the client portjava.io.IOException
- if the connection can't be establishedjava.net.UnknownHostException
- if the host is not knownpublic java.net.Socket createSocket(java.net.InetAddress address, int port, java.net.InetAddress clientAddress, int clientPort) throws java.net.UnknownHostException, java.io.IOException
createSocket
in class javax.net.SocketFactory
address
- the server network addressport
- the server portclientAddress
- the client network addressclientPort
- the client portjava.io.IOException
- if the connection can't be establishedjava.net.UnknownHostException
- if the host is not knownpublic java.net.Socket createSocket(java.net.InetAddress host, int port, int connectionTimeoutMillis) throws java.io.IOException
createSocket
in class WeblogicSocketFactory
java.io.IOException
public java.lang.String[] getDefaultCipherSuites()
getSupportedCipherSuites()
public java.lang.String[] getSupportedCipherSuites()