Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public abstract class

SSLServerSocketFactory

extends ServerSocketFactory
java.lang.Object
   ↳ javax.net.ServerSocketFactory
     ↳ javax.net.ssl.SSLServerSocketFactory

Class Overview

The factory for SSL server sockets.

Summary

Protected Constructors
SSLServerSocketFactory ()
Creates a new SSLServerSocketFactory instance.
Public Methods
synchronized static ServerSocketFactory getDefault ()
Returns the default SSLServerSocketFactory instance.
abstract String[] getDefaultCipherSuites ()
Returns the names of the cipher suites that are enabled by default.
abstract String[] getSupportedCipherSuites ()
Returns the list of supported cipher suites that could be enabled for an SSL connection created by this factory.
[Expand]
Inherited Methods
From class javax.net.ServerSocketFactory
From class java.lang.Object

Protected Constructors

protected SSLServerSocketFactory ()

Added in API level 1

Creates a new SSLServerSocketFactory instance.

Public Methods

public static synchronized ServerSocketFactory getDefault ()

Added in API level 1

Returns the default SSLServerSocketFactory instance. The default implementation is defined by the security property "ssl.ServerSocketFactory.provider".

Returns
  • the default SSLServerSocketFactory instance.

public abstract String[] getDefaultCipherSuites ()

Added in API level 1

Returns the names of the cipher suites that are enabled by default.

Returns
  • the names of the cipher suites that are enabled by default

public abstract String[] getSupportedCipherSuites ()

Added in API level 1

Returns the list of supported cipher suites that could be enabled for an SSL connection created by this factory.

Returns
  • the list of supported cipher suites