Package org.wildfly.security.ssl
Interface SSLConfigurator
-
- All Known Implementing Classes:
SSLConfiguratorImpl
public interface SSLConfigurator
A configurator for SSL contexts and their produced objects. Instances of this interface can be used to preconfigure, limit, or modify the behavior of the SSL context.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
configure(SSLContext context)
default void
configure(SSLContext context, SSLEngine sslEngine)
default void
configure(SSLContext context, SSLServerSocket sslServerSocket)
default void
configure(SSLContext context, SSLSocket sslSocket)
default SSLParameters
getDefaultSSLParameters(SSLContext sslContext, SSLParameters original)
default SSLParameters
getSupportedSSLParameters(SSLContext sslContext, SSLParameters original)
default void
setEnabledCipherSuites(SSLContext sslContext, SSLEngine sslEngine, String[] cipherSuites)
default void
setEnabledCipherSuites(SSLContext sslContext, SSLServerSocket sslServerSocket, String[] suites)
default void
setEnabledCipherSuites(SSLContext sslContext, SSLSocket sslSocket, String[] cipherSuites)
default void
setEnabledProtocols(SSLContext sslContext, SSLEngine sslEngine, String[] protocols)
default void
setEnabledProtocols(SSLContext sslContext, SSLServerSocket sslServerSocket, String[] protocols)
default void
setEnabledProtocols(SSLContext sslContext, SSLSocket sslSocket, String[] protocols)
default void
setEnableSessionCreation(SSLContext sslContext, SSLEngine sslEngine, boolean flag)
default void
setEnableSessionCreation(SSLContext sslContext, SSLServerSocket sslServerSocket, boolean flag)
default void
setEnableSessionCreation(SSLContext sslContext, SSLSocket sslSocket, boolean flag)
default void
setNeedClientAuth(SSLContext context, SSLEngine sslEngine, boolean value)
default void
setNeedClientAuth(SSLContext sslContext, SSLServerSocket sslServerSocket, boolean value)
default void
setNeedClientAuth(SSLContext context, SSLSocket sslSocket, boolean value)
default void
setSSLParameters(SSLContext sslContext, SSLEngine sslEngine, SSLParameters parameters)
default void
setSSLParameters(SSLContext sslContext, SSLServerSocket sslServerSocket, SSLParameters parameters)
default void
setSSLParameters(SSLContext sslContext, SSLSocket sslSocket, SSLParameters parameters)
default void
setUseClientMode(SSLContext sslContext, SSLEngine sslEngine, boolean mode)
default void
setUseClientMode(SSLContext sslContext, SSLServerSocket sslServerSocket, boolean mode)
default void
setUseClientMode(SSLContext sslContext, SSLSocket sslSocket, boolean mode)
default void
setWantClientAuth(SSLContext context, SSLEngine sslEngine, boolean value)
default void
setWantClientAuth(SSLContext sslContext, SSLServerSocket sslServerSocket, boolean value)
default void
setWantClientAuth(SSLContext context, SSLSocket sslSocket, boolean value)
-
-
-
Method Detail
-
configure
default void configure(SSLContext context, SSLServerSocket sslServerSocket)
-
configure
default void configure(SSLContext context, SSLSocket sslSocket)
-
configure
default void configure(SSLContext context, SSLEngine sslEngine)
-
configure
default void configure(SSLContext context)
-
getDefaultSSLParameters
default SSLParameters getDefaultSSLParameters(SSLContext sslContext, SSLParameters original)
-
getSupportedSSLParameters
default SSLParameters getSupportedSSLParameters(SSLContext sslContext, SSLParameters original)
-
setWantClientAuth
default void setWantClientAuth(SSLContext context, SSLSocket sslSocket, boolean value)
-
setWantClientAuth
default void setWantClientAuth(SSLContext context, SSLEngine sslEngine, boolean value)
-
setWantClientAuth
default void setWantClientAuth(SSLContext sslContext, SSLServerSocket sslServerSocket, boolean value)
-
setNeedClientAuth
default void setNeedClientAuth(SSLContext context, SSLSocket sslSocket, boolean value)
-
setNeedClientAuth
default void setNeedClientAuth(SSLContext context, SSLEngine sslEngine, boolean value)
-
setNeedClientAuth
default void setNeedClientAuth(SSLContext sslContext, SSLServerSocket sslServerSocket, boolean value)
-
setEnabledCipherSuites
default void setEnabledCipherSuites(SSLContext sslContext, SSLSocket sslSocket, String[] cipherSuites)
-
setEnabledCipherSuites
default void setEnabledCipherSuites(SSLContext sslContext, SSLEngine sslEngine, String[] cipherSuites)
-
setEnabledCipherSuites
default void setEnabledCipherSuites(SSLContext sslContext, SSLServerSocket sslServerSocket, String[] suites)
-
setEnabledProtocols
default void setEnabledProtocols(SSLContext sslContext, SSLSocket sslSocket, String[] protocols)
-
setEnabledProtocols
default void setEnabledProtocols(SSLContext sslContext, SSLEngine sslEngine, String[] protocols)
-
setEnabledProtocols
default void setEnabledProtocols(SSLContext sslContext, SSLServerSocket sslServerSocket, String[] protocols)
-
setSSLParameters
default void setSSLParameters(SSLContext sslContext, SSLSocket sslSocket, SSLParameters parameters)
-
setSSLParameters
default void setSSLParameters(SSLContext sslContext, SSLEngine sslEngine, SSLParameters parameters)
-
setSSLParameters
default void setSSLParameters(SSLContext sslContext, SSLServerSocket sslServerSocket, SSLParameters parameters)
-
setUseClientMode
default void setUseClientMode(SSLContext sslContext, SSLSocket sslSocket, boolean mode)
-
setUseClientMode
default void setUseClientMode(SSLContext sslContext, SSLEngine sslEngine, boolean mode)
-
setUseClientMode
default void setUseClientMode(SSLContext sslContext, SSLServerSocket sslServerSocket, boolean mode)
-
setEnableSessionCreation
default void setEnableSessionCreation(SSLContext sslContext, SSLSocket sslSocket, boolean flag)
-
setEnableSessionCreation
default void setEnableSessionCreation(SSLContext sslContext, SSLEngine sslEngine, boolean flag)
-
setEnableSessionCreation
default void setEnableSessionCreation(SSLContext sslContext, SSLServerSocket sslServerSocket, boolean flag)
-
-