java.lang.Object | |||
↳ | javax.net.ServerSocketFactory | ||
↳ | javax.net.ssl.SSLServerSocketFactory | ||
↳ | sun.security.ssl.SSLServerSocketFactoryImpl |
This class creates SSL server sockets.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor used to instantiate the default factory.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a server socket bound to the specified port.
| |||||||||||
Returns a server socket bound to the specified port,
with a specified listen backlog and local IP.
| |||||||||||
Returns a server socket bound to the specified port, and uses the
specified connection backlog.
| |||||||||||
Returns an unbound server socket.
| |||||||||||
Returns the subset of the supported cipher suites which are
enabled by default.
| |||||||||||
Returns the names of the cipher suites which could be enabled for use
on an SSL connection.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructor used to instantiate the default factory. This method is only called if the old "ssl.ServerSocketFactory.provider" property in the java.security file is set.
Exception |
---|
Returns a server socket bound to the specified port. The socket is configured with the socket options (such as accept timeout) given to this factory.
port | the port to listen to |
---|
ServerSocket
IOException |
---|
Returns a server socket bound to the specified port,
with a specified listen backlog and local IP.
The ifAddress
argument can be used on a multi-homed
host for a ServerSocket
that will only accept connect
requests to one of its addresses. If ifAddress
is null,
it will accept connections on all local addresses. The socket is
configured with the socket options (such as accept timeout) given
to this factory.
port | the port to listen to |
---|---|
backlog | how many connections are queued |
ifAddress | the network interface address to use |
ServerSocket
IOException |
---|
Returns a server socket bound to the specified port, and uses the specified connection backlog. The socket is configured with the socket options (such as accept timeout) given to this factory.
port | the port to listen to |
---|---|
backlog | how many connections are queued |
ServerSocket
IOException |
---|
Returns an unbound server socket.
IOException | if the socket cannot be created |
---|
Returns the subset of the supported cipher suites which are enabled by default. These cipher suites all provide a minimum quality of service whereby the server authenticates itself (preventing person-in-the-middle attacks) and where traffic is encrypted to provide confidentiality.
Returns the names of the cipher suites which could be enabled for use on an SSL connection. Normally, only a subset of these will actually be enabled by default, since this list may include cipher suites which do not support the mutual authentication of servers and clients, or which do not protect data confidentiality. Servers may also need certain kinds of certificates to use certain cipher suites.