Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
fSecure client sockets are only half of the equation. The
other half is SSL-enabled server sockets. These are instances of the
javax.net.SSLServerSocket class:
public abstract class SSLServerSocket extends ServerSocket
Like SSLSocket, all the
constructors in this class are protected. Like SSLSocket, instances of SSLServerSocket are created by an abstract
factory class, javax.net.SSLServerSocketFactory:
public abstract class SSLServerSocketFactory extends ServerSocketFactory
Also like SSLSocketFactory, an
instance of SSLServerSocketFactory is
returned by a static SSLServerSocketFactory.getDefault( )
method:
public static ServerSocketFactory getDefault( )
And like SSLSocketFactory,
SSLServerSocketFactory has three
overloaded createServerSocket( )
methods that return instances of SSLServerSocket and are easily understood by
analogy with the java.net.ServerSocket constructors: