Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.net.ssl
Class SSLServerSocketFactory  view SSLServerSocketFactory download SSLServerSocketFactory.java

java.lang.Object
  extended byjavax.net.ServerSocketFactory
      extended byjavax.net.ssl.SSLServerSocketFactory

public abstract class SSLServerSocketFactory
extends javax.net.ServerSocketFactory

A server socket factory for Secure Socket Layer (SSL) server sockets.


Field Summary
private static SSLContext context
           
 
Constructor Summary
protected SSLServerSocketFactory()
           
 
Method Summary
static javax.net.ServerSocketFactory getDefault()
          Returns a default implementation of a SSL server socket factory.
abstract  java.lang.String[] getDefaultCipherSuites()
          Returns the list of cipher suites that will be enabled in server sockets created by this factory.
abstract  java.lang.String[] getSupportedCipherSuites()
          Returns the list of all cipher suites supported by this factory.
 
Methods inherited from class javax.net.ServerSocketFactory
createServerSocket, createServerSocket, createServerSocket, createServerSocket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

private static SSLContext context
Constructor Detail

SSLServerSocketFactory

protected SSLServerSocketFactory()
Method Detail

getDefault

public static javax.net.ServerSocketFactory getDefault()
Returns a default implementation of a SSL server socket factory.

To control the class that gets returned by this method, set the security property "ssl.ServerSocketFactory.provider" to the class name of a concrete implementation of this class. If not set, a system-dependent implementation will be used.

The implementation returned is created by the first implementation of the SSLContext class found, which is initialized with default parameters. To control the key and trust manager factory algorithms used as defaults, set the security properties "ssl.keyManagerFactory.algorithm" and "ssl.trustManagerFactory.algorithm" to the appropriate names.

Using this method is not recommended. Instead, use the methods of SSLContext, which provide much better control over the creation of server socket factories.


getDefaultCipherSuites

public abstract java.lang.String[] getDefaultCipherSuites()
Returns the list of cipher suites that will be enabled in server sockets created by this factory.


getSupportedCipherSuites

public abstract java.lang.String[] getSupportedCipherSuites()
Returns the list of all cipher suites supported by this factory.