Package org.wildfly.security.ssl
Class SNISSLContextSpi
- java.lang.Object
-
- javax.net.ssl.SSLContextSpi
-
- org.wildfly.security.ssl.SNISSLContextSpi
-
class SNISSLContextSpi extends SSLContextSpi
SSLContext that can be used to do SNI matching. This
-
-
Field Summary
Fields Modifier and Type Field Description private SNIContextMatcher
matcher
-
Constructor Summary
Constructors Constructor Description SNISSLContextSpi(SNIContextMatcher matcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SSLEngine
engineCreateSSLEngine()
protected SSLEngine
engineCreateSSLEngine(String s, int i)
protected SSLSessionContext
engineGetClientSessionContext()
protected SSLSessionContext
engineGetServerSessionContext()
protected SSLServerSocketFactory
engineGetServerSocketFactory()
protected SSLSocketFactory
engineGetSocketFactory()
protected void
engineInit(KeyManager[] keyManagers, TrustManager[] trustManagers, SecureRandom secureRandom)
-
Methods inherited from class javax.net.ssl.SSLContextSpi
engineGetDefaultSSLParameters, engineGetSupportedSSLParameters
-
-
-
-
Field Detail
-
matcher
private final SNIContextMatcher matcher
-
-
Constructor Detail
-
SNISSLContextSpi
SNISSLContextSpi(SNIContextMatcher matcher)
-
-
Method Detail
-
engineInit
protected void engineInit(KeyManager[] keyManagers, TrustManager[] trustManagers, SecureRandom secureRandom) throws KeyManagementException
- Specified by:
engineInit
in classSSLContextSpi
- Throws:
KeyManagementException
-
engineGetSocketFactory
protected SSLSocketFactory engineGetSocketFactory()
- Specified by:
engineGetSocketFactory
in classSSLContextSpi
-
engineGetServerSocketFactory
protected SSLServerSocketFactory engineGetServerSocketFactory()
- Specified by:
engineGetServerSocketFactory
in classSSLContextSpi
-
engineCreateSSLEngine
protected SSLEngine engineCreateSSLEngine()
- Specified by:
engineCreateSSLEngine
in classSSLContextSpi
-
engineCreateSSLEngine
protected SSLEngine engineCreateSSLEngine(String s, int i)
- Specified by:
engineCreateSSLEngine
in classSSLContextSpi
-
engineGetServerSessionContext
protected SSLSessionContext engineGetServerSessionContext()
- Specified by:
engineGetServerSessionContext
in classSSLContextSpi
-
engineGetClientSessionContext
protected SSLSessionContext engineGetClientSessionContext()
- Specified by:
engineGetClientSessionContext
in classSSLContextSpi
-
-