|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.net.ssl.SSLContextSpi
org.restlet.engine.ssl.WrapperSslContextSpi
public class WrapperSslContextSpi
Default SSL context SPI capable or setting additional properties on the created SSL engines and socket factories.
Constructor Summary | |
---|---|
WrapperSslContextSpi(DefaultSslContextFactory contextFactory,
SSLContext wrappedContext)
Constructor. |
Method Summary | |
---|---|
protected SSLEngine |
engineCreateSSLEngine()
|
protected SSLEngine |
engineCreateSSLEngine(String peerHost,
int peerPort)
|
protected SSLSessionContext |
engineGetClientSessionContext()
|
protected SSLSessionContext |
engineGetServerSessionContext()
|
protected SSLServerSocketFactory |
engineGetServerSocketFactory()
|
protected SSLSocketFactory |
engineGetSocketFactory()
|
protected void |
engineInit(KeyManager[] km,
TrustManager[] tm,
SecureRandom random)
|
protected DefaultSslContextFactory |
getContextFactory()
Returns the parent SSL context factory. |
protected SSLContext |
getWrappedContext()
Returns the wrapped SSL context. |
protected void |
initEngine(SSLEngine sslEngine)
Initializes the SSL engine with additional parameters from the SSL context factory. |
Methods inherited from class javax.net.ssl.SSLContextSpi |
---|
engineGetDefaultSSLParameters, engineGetSupportedSSLParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WrapperSslContextSpi(DefaultSslContextFactory contextFactory, SSLContext wrappedContext)
contextFactory
- The parent SSL context factory.wrappedContext
- The wrapped SSL context.Method Detail |
---|
protected SSLEngine engineCreateSSLEngine()
engineCreateSSLEngine
in class SSLContextSpi
protected SSLEngine engineCreateSSLEngine(String peerHost, int peerPort)
engineCreateSSLEngine
in class SSLContextSpi
protected SSLSessionContext engineGetClientSessionContext()
engineGetClientSessionContext
in class SSLContextSpi
protected SSLSessionContext engineGetServerSessionContext()
engineGetServerSessionContext
in class SSLContextSpi
protected SSLServerSocketFactory engineGetServerSocketFactory()
engineGetServerSocketFactory
in class SSLContextSpi
protected SSLSocketFactory engineGetSocketFactory()
engineGetSocketFactory
in class SSLContextSpi
protected void engineInit(KeyManager[] km, TrustManager[] tm, SecureRandom random) throws KeyManagementException
engineInit
in class SSLContextSpi
KeyManagementException
protected DefaultSslContextFactory getContextFactory()
protected SSLContext getWrappedContext()
protected void initEngine(SSLEngine sslEngine)
sslEngine
- The SSL engine to initialize.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |