Skip to content

Most visited

Recently visited

navigation
Added in API level 1

SSLServerSocketFactory

public abstract class SSLServerSocketFactory
extends ServerSocketFactory

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


The factory for SSL server sockets.

Summary

Protected constructors

SSLServerSocketFactory()

Creates a new SSLServerSocketFactory instance.

Public methods

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.

Inherited methods

From class javax.net.ServerSocketFactory
From class java.lang.Object

Protected constructors

SSLServerSocketFactory

Added in API level 1
SSLServerSocketFactory ()

Creates a new SSLServerSocketFactory instance.

Public methods

getDefault

Added in API level 1
ServerSocketFactory getDefault ()

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

Returns
ServerSocketFactory the default SSLServerSocketFactory instance.

getDefaultCipherSuites

Added in API level 1
String[] getDefaultCipherSuites ()

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

Returns
String[] the names of the cipher suites that are enabled by default

getSupportedCipherSuites

Added in API level 1
String[] getSupportedCipherSuites ()

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

Returns
String[] the list of supported cipher suites
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.