|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.net.ssl.SSLContextSpi
public abstract class SSLContextSpi
The Service Provider Interface (SPI) for SSLContext objects.
Constructor Summary | |
---|---|
SSLContextSpi()
Create a new SSLContextSpi. |
Method Summary | |
---|---|
protected abstract SSLEngine |
engineCreateSSLEngine()
Returns a new SSLEngine for this context. |
protected abstract SSLEngine |
engineCreateSSLEngine(String host,
int port)
Returns a new SSLEngine for this context, for the given
host name and port number. |
protected abstract SSLSessionContext |
engineGetClientSessionContext()
Returns the set of SSL sessions available for client connections. |
protected abstract SSLSessionContext |
engineGetServerSessionContext()
Returns the set of SSL sessions available for server connections. |
protected abstract SSLServerSocketFactory |
engineGetServerSocketFactory()
Returns the SSL server socket factory. |
protected abstract SSLSocketFactory |
engineGetSocketFactory()
Returns the SSL client socket factory. |
protected abstract void |
engineInit(KeyManager[] keyManagers,
TrustManager[] trustManagers,
SecureRandom random)
Initialize this context with key and trust managers, and a source of randomness. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSLContextSpi()
Method Detail |
---|
protected abstract SSLEngine engineCreateSSLEngine()
SSLEngine
for this context.
protected abstract SSLEngine engineCreateSSLEngine(String host, int port)
SSLEngine
for this context, for the given
host name and port number.
host
- The local host name.port
- The local port number.
protected abstract SSLSessionContext engineGetClientSessionContext()
protected abstract SSLSessionContext engineGetServerSessionContext()
protected abstract SSLServerSocketFactory engineGetServerSocketFactory()
protected abstract SSLSocketFactory engineGetSocketFactory()
protected abstract void engineInit(KeyManager[] keyManagers, TrustManager[] trustManagers, SecureRandom random) throws KeyManagementException
keyManagers
- The set of key managers.trustManagers
- The set of trust managers.random
- The source of randomness.
KeyManagementException
- If this context cannot be
initialized with these parameters.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |