java.lang.Object | ||
↳ | javax.net.SocketFactory | |
↳ | javax.net.ssl.SSLSocketFactory |
Known Direct Subclasses |
The abstract factory implementation to create SSLSocket
s.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
SSLSocketFactory .
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates an
SSLSocket over the specified socket that is connected
to the specified host at the specified port.
| |||||||||||
Returns the default
SSLSocketFactory instance.
| |||||||||||
Returns the names of the cipher suites that are enabled by default.
| |||||||||||
Returns the names of the cipher suites that are supported and could be
enabled for an SSL connection.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.net.SocketFactory
| |||||||||||
From class
java.lang.Object
|
Creates an SSLSocket
over the specified socket that is connected
to the specified host at the specified port.
s | the socket. |
---|---|
host | the host. |
port | the port number. |
autoClose | true if socket s should be closed when the
created socket is closed, false if the socket
s should be left open. |
IOException | if creating the socket fails. |
---|---|
UnknownHostException | if the host is unknown. |
Returns the default SSLSocketFactory
instance. The default is
defined by the security property 'ssl.SocketFactory.provider'
.
Returns the names of the cipher suites that are enabled by default.
Returns the names of the cipher suites that are supported and could be enabled for an SSL connection.