public class WrapperSslContextSpi extends SSLContextSpi
Constructor and Description |
---|
WrapperSslContextSpi(DefaultSslContextFactory contextFactory,
SSLContext wrappedContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
engineGetDefaultSSLParameters, engineGetSupportedSSLParameters
public WrapperSslContextSpi(DefaultSslContextFactory contextFactory, SSLContext wrappedContext)
contextFactory
- The parent SSL context factory.wrappedContext
- The wrapped SSL context.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.Copyright © 2005–2017. All rights reserved.