Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
javax.net.ssl

Class SSLContextSpi

java.lang.Object
|
+--javax.net.ssl.SSLContextSpi


public abstract class SSLContextSpi

extends java.lang.Object

The Service Provider Interface (SPI) for SSLContext objects.

Author:

Constructor Summary

SSLContextSpi()

Create a new SSLContextSpi.

Method Summary

javax.net.ssl.SSLSessionContextengineGetClientSessionContext()

Returns the set of SSL sessions available for client connections.
javax.net.ssl.SSLSessionContextengineGetServerSessionContext()

Returns the set of SSL sessions available for server connections.
javax.net.ssl.SSLServerSocketFactoryengineGetServerSocketFactory()

Returns the SSL server socket factory.
javax.net.ssl.SSLSocketFactoryengineGetSocketFactory()

Returns the SSL client socket factory.
voidengineInit(javax.net.ssl.KeyManager keyManagers, javax.net.ssl.TrustManager trustManagers, SecureRandom random)

Initialize this context with key and trust managers, and a source of randomness.

Constructor Details

SSLContextSpi

public SSLContextSpi()

Create a new SSLContextSpi.


Method Details

engineGetClientSessionContext

protected SSLSessionContext engineGetClientSessionContext()

Returns the set of SSL sessions available for client connections.

Returns:


engineGetServerSessionContext

protected SSLSessionContext engineGetServerSessionContext()

Returns the set of SSL sessions available for server connections.

Returns:


engineGetServerSocketFactory

protected SSLServerSocketFactory engineGetServerSocketFactory()

Returns the SSL server socket factory.

Returns:


engineGetSocketFactory

protected SSLSocketFactory engineGetSocketFactory()

Returns the SSL client socket factory.

Returns:


engineInit

protected void engineInit(javax.net.ssl.KeyManager keyManagers, javax.net.ssl.TrustManager trustManagers, SecureRandom random)

Initialize this context with key and trust managers, and a source of randomness. All of the parameters are optional.

Parameters:

Throws: