public class WrapperSslContextSpi
extends javax.net.ssl.SSLContextSpi
| Constructor and Description |
|---|
WrapperSslContextSpi(DefaultSslContextFactory contextFactory,
javax.net.ssl.SSLContext wrappedContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public WrapperSslContextSpi(DefaultSslContextFactory contextFactory, javax.net.ssl.SSLContext wrappedContext)
contextFactory - The parent SSL context factory.wrappedContext - The wrapped SSL context.protected javax.net.ssl.SSLEngine engineCreateSSLEngine()
engineCreateSSLEngine in class javax.net.ssl.SSLContextSpiprotected javax.net.ssl.SSLEngine engineCreateSSLEngine(java.lang.String peerHost,
int peerPort)
engineCreateSSLEngine in class javax.net.ssl.SSLContextSpiprotected javax.net.ssl.SSLSessionContext engineGetClientSessionContext()
engineGetClientSessionContext in class javax.net.ssl.SSLContextSpiprotected javax.net.ssl.SSLSessionContext engineGetServerSessionContext()
engineGetServerSessionContext in class javax.net.ssl.SSLContextSpiprotected javax.net.ssl.SSLServerSocketFactory engineGetServerSocketFactory()
engineGetServerSocketFactory in class javax.net.ssl.SSLContextSpiprotected javax.net.ssl.SSLSocketFactory engineGetSocketFactory()
engineGetSocketFactory in class javax.net.ssl.SSLContextSpiprotected 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.SSLContextSpijava.security.KeyManagementExceptionprotected DefaultSslContextFactory getContextFactory()
protected javax.net.ssl.SSLContext getWrappedContext()
protected void initEngine(javax.net.ssl.SSLEngine sslEngine)
sslEngine - The SSL engine to initialize.Copyright © 2005-2024 Restlet.