Package org.wildfly.security.ssl
Class AbstractDelegatingSSLContextSpi
- java.lang.Object
-
- javax.net.ssl.SSLContextSpi
-
- org.wildfly.security.ssl.AbstractDelegatingSSLContextSpi
-
- Direct Known Subclasses:
ConfiguredSSLContextSpi
abstract class AbstractDelegatingSSLContextSpi extends SSLContextSpi
An SSL context SPI implementation which delegates to another SSL context.- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description private SSLContextdelegate
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractDelegatingSSLContextSpi(SSLContext delegate)Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SSLEngineengineCreateSSLEngine()protected SSLEngineengineCreateSSLEngine(String host, int port)protected SSLSessionContextengineGetClientSessionContext()protected SSLParametersengineGetDefaultSSLParameters()protected SSLSessionContextengineGetServerSessionContext()protected SSLServerSocketFactoryengineGetServerSocketFactory()protected SSLSocketFactoryengineGetSocketFactory()protected SSLParametersengineGetSupportedSSLParameters()protected voidengineInit(KeyManager[] km, TrustManager[] tm, SecureRandom sr)protected SSLContextgetDelegate()Get the delegate SSL context.StringtoString()
-
-
-
Field Detail
-
delegate
private final SSLContext delegate
-
-
Constructor Detail
-
AbstractDelegatingSSLContextSpi
protected AbstractDelegatingSSLContextSpi(SSLContext delegate)
Construct a new instance.- Parameters:
delegate- the SSL context to delegate
-
-
Method Detail
-
engineInit
protected void engineInit(KeyManager[] km, TrustManager[] tm, SecureRandom sr) throws KeyManagementException
- Specified by:
engineInitin classSSLContextSpi- Throws:
KeyManagementException
-
engineGetSocketFactory
protected SSLSocketFactory engineGetSocketFactory()
- Specified by:
engineGetSocketFactoryin classSSLContextSpi
-
engineGetServerSocketFactory
protected SSLServerSocketFactory engineGetServerSocketFactory()
- Specified by:
engineGetServerSocketFactoryin classSSLContextSpi
-
engineCreateSSLEngine
protected SSLEngine engineCreateSSLEngine()
- Specified by:
engineCreateSSLEnginein classSSLContextSpi
-
engineCreateSSLEngine
protected SSLEngine engineCreateSSLEngine(String host, int port)
- Specified by:
engineCreateSSLEnginein classSSLContextSpi
-
engineGetServerSessionContext
protected SSLSessionContext engineGetServerSessionContext()
- Specified by:
engineGetServerSessionContextin classSSLContextSpi
-
engineGetClientSessionContext
protected SSLSessionContext engineGetClientSessionContext()
- Specified by:
engineGetClientSessionContextin classSSLContextSpi
-
engineGetDefaultSSLParameters
protected SSLParameters engineGetDefaultSSLParameters()
- Overrides:
engineGetDefaultSSLParametersin classSSLContextSpi
-
engineGetSupportedSSLParameters
protected SSLParameters engineGetSupportedSSLParameters()
- Overrides:
engineGetSupportedSSLParametersin classSSLContextSpi
-
getDelegate
protected SSLContext getDelegate()
Get the delegate SSL context.- Returns:
- the delegate SSL context
-
-