|
Restlet Framework 2.2.2 Android |
|||||||||
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,
javax.net.ssl.SSLContext wrappedContext)
Constructor. |
Method Summary | |
---|---|
protected javax.net.ssl.SSLEngine |
engineCreateSSLEngine()
|
protected javax.net.ssl.SSLEngine |
engineCreateSSLEngine(java.lang.String peerHost,
int peerPort)
|
protected javax.net.ssl.SSLSessionContext |
engineGetClientSessionContext()
|
protected javax.net.ssl.SSLSessionContext |
engineGetServerSessionContext()
|
protected javax.net.ssl.SSLServerSocketFactory |
engineGetServerSocketFactory()
|
protected javax.net.ssl.SSLSocketFactory |
engineGetSocketFactory()
|
protected void |
engineInit(javax.net.ssl.KeyManager[] km,
javax.net.ssl.TrustManager[] tm,
java.security.SecureRandom random)
|
protected DefaultSslContextFactory |
getContextFactory()
Returns the parent SSL context factory. |
protected javax.net.ssl.SSLContext |
getWrappedContext()
Returns the wrapped SSL context. |
protected void |
initEngine(javax.net.ssl.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, javax.net.ssl.SSLContext wrappedContext)
contextFactory
- The parent SSL context factory.wrappedContext
- The wrapped SSL context.Method Detail |
---|
protected javax.net.ssl.SSLEngine engineCreateSSLEngine()
engineCreateSSLEngine
in class javax.net.ssl.SSLContextSpi
protected javax.net.ssl.SSLEngine engineCreateSSLEngine(java.lang.String peerHost, int peerPort)
engineCreateSSLEngine
in class javax.net.ssl.SSLContextSpi
protected javax.net.ssl.SSLSessionContext engineGetClientSessionContext()
engineGetClientSessionContext
in class javax.net.ssl.SSLContextSpi
protected javax.net.ssl.SSLSessionContext engineGetServerSessionContext()
engineGetServerSessionContext
in class javax.net.ssl.SSLContextSpi
protected javax.net.ssl.SSLServerSocketFactory engineGetServerSocketFactory()
engineGetServerSocketFactory
in class javax.net.ssl.SSLContextSpi
protected javax.net.ssl.SSLSocketFactory engineGetSocketFactory()
engineGetSocketFactory
in class javax.net.ssl.SSLContextSpi
protected void engineInit(javax.net.ssl.KeyManager[] km, javax.net.ssl.TrustManager[] tm, java.security.SecureRandom random) throws java.security.KeyManagementException
engineInit
in class javax.net.ssl.SSLContextSpi
java.security.KeyManagementException
protected DefaultSslContextFactory getContextFactory()
protected javax.net.ssl.SSLContext getWrappedContext()
protected void initEngine(javax.net.ssl.SSLEngine sslEngine)
sslEngine
- The SSL engine to initialize.
|
Restlet Framework 2.2.2 Android |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |