Name
SSLServerSocketFactory
Synopsis
This class is a
javax.net.ServerSocketFactory
for creating SSLServerSocket objects. Most
applications use the default
SSLServerSocketFactory returned by the static
getDefault( )
method. Once this
SSLServerSocketFactory has been obtained, they use
one of the inherited createServerSocket(
)
methods to create and optionally bind a new
SSLServerSocket. The return value of the
createServerSocket( ) methods is a
java.net.ServerSocket object, but you can safely
cast this object to a SSLServerSocket if you need
to.
Applications that need to customize the SSL configuration and cannot
use the default server socket factory may obtain a custom
SSLServerSocketFactory from an
SSLContext, which is essentially a factory for
socket factories. See SSLContext for details.
Figure 18-13. javax.net.ssl.SSLServerSocketFactory
public abstract class SSLServerSocketFactory extends javax.net.ServerSocketFactory { // Protected Constructors protected SSLServerSocketFactory( ); // Public Class Methods public static javax.net.ServerSocketFactory getDefault( ); synchronized // Public Instance Methods public abstract String[ ] getDefaultCipherSuites( ); public abstract String[ ] getSupportedCipherSuites( ); }
Returned By
SSLContext.getServerSocketFactory( ),
SSLContextSpi.engineGetServerSocketFactory( )
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access