public interface TlsConfiguration
Modifier and Type | Method and Description |
---|---|
javax.net.ssl.SSLSocket |
createSSLSocket(java.net.Socket socket)
Returns an SSLSocket which wraps the supplied non-secured socket.
|
boolean |
isEnabled()
Returns true if TLS is enabled.
|
boolean isEnabled()
javax.net.ssl.SSLSocket createSSLSocket(java.net.Socket socket) throws java.io.IOException
socket
- the socket to be wrappedjava.io.IOException