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:- Casey Marshall (rsdio@metastatic.org)
SSLContextSpi
public SSLContextSpi()
Create a new SSLContextSpi.
engineGetClientSessionContext
protected SSLSessionContext engineGetClientSessionContext()
Returns the set of SSL sessions available for client connections.
Returns:
- The set of SSL sessions available for client connections.
engineGetServerSessionContext
protected SSLSessionContext engineGetServerSessionContext()
Returns the set of SSL sessions available for server connections.
Returns:
- The set of SSL sessions available for server connections.
engineGetServerSocketFactory
protected SSLServerSocketFactory engineGetServerSocketFactory()
Returns the SSL server socket factory.
Returns:
- The SSL server socket factory.
engineGetSocketFactory
protected SSLSocketFactory engineGetSocketFactory()
Returns the SSL client socket factory.
Returns:
- The SSL client socket factory.
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:
- If this context cannot be
initialized with these parameters.