protected static final class BaseSSLContextParameters.SSLContextSpiDecorator extends SSLContextSpi
SSLContext. Since SSLContext is an abstract
class and requires an instance of SSLContextSpi, this class effectively wraps an SSLContext as if
it were an SSLContextSpi, allowing us to achieve decoration.| Constructor and Description |
|---|
SSLContextSpiDecorator(SSLContext context,
List<org.apache.camel.support.jsse.BaseSSLContextParameters.Configurer<SSLEngine>> sslEngineConfigurers,
List<org.apache.camel.support.jsse.BaseSSLContextParameters.Configurer<SSLSocketFactory>> sslSocketFactoryConfigurers,
List<org.apache.camel.support.jsse.BaseSSLContextParameters.Configurer<SSLServerSocketFactory>> sslServerSocketFactoryConfigurers) |
engineGetDefaultSSLParameters, engineGetSupportedSSLParameterspublic SSLContextSpiDecorator(SSLContext context, List<org.apache.camel.support.jsse.BaseSSLContextParameters.Configurer<SSLEngine>> sslEngineConfigurers, List<org.apache.camel.support.jsse.BaseSSLContextParameters.Configurer<SSLSocketFactory>> sslSocketFactoryConfigurers, List<org.apache.camel.support.jsse.BaseSSLContextParameters.Configurer<SSLServerSocketFactory>> sslServerSocketFactoryConfigurers)
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 SSLContext getDelegate()
protected SSLEngine configureSSLEngine(SSLEngine engine)
SSLEngine based on the configurers in instance. The return value from this method may
be engine or it may be a decorated instance there of. Consequently, any subsequent actions on
engine must be performed using the returned value.engine - the engine to configureengine or a decorated instance there ofprotected SSLSocketFactory configureSSLSocketFactory(SSLSocketFactory factory)
SSLSocketFactory based on the configurers in this instance. The return value from this
method may be factory or it may be a decorated instance there of. Consequently, any subsequent
actions on factory must be performed using the returned value.factory - the factory to configurefactory or a decorated instance there ofprotected SSLServerSocketFactory configureSSLServerSocketFactory(SSLServerSocketFactory factory)
SSLServerSocketFactory based on the configurers in this instance. The return value from
this method may be factory or it may be a decorated instance there of. Consequently, any subsequent
actions on factory must be performed using the returned value.factory - the factory to configurefactory or a decorated instance there ofApache Camel