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, engineGetSupportedSSLParameterspublic WrapperSslContextSpi(DefaultSslContextFactory contextFactory, SSLContext wrappedContext)
contextFactory - The parent SSL context factory.wrappedContext - The wrapped SSL context.protected SSLEngine engineCreateSSLEngine()
engineCreateSSLEngine in class SSLContextSpiprotected SSLEngine engineCreateSSLEngine(String peerHost, int peerPort)
engineCreateSSLEngine in class SSLContextSpiprotected SSLSessionContext engineGetClientSessionContext()
engineGetClientSessionContext in class SSLContextSpiprotected SSLSessionContext engineGetServerSessionContext()
engineGetServerSessionContext in class SSLContextSpiprotected SSLServerSocketFactory engineGetServerSocketFactory()
engineGetServerSocketFactory in class SSLContextSpiprotected SSLSocketFactory engineGetSocketFactory()
engineGetSocketFactory in class SSLContextSpiprotected void engineInit(KeyManager[] km, TrustManager[] tm, SecureRandom random) throws KeyManagementException
engineInit in class SSLContextSpiKeyManagementExceptionprotected DefaultSslContextFactory getContextFactory()
protected SSLContext getWrappedContext()
protected void initEngine(SSLEngine sslEngine)
sslEngine - The SSL engine to initialize.Copyright © 2005–2025. All rights reserved.