-
- All Implemented Interfaces:
-
java.io.Closeable,java.lang.AutoCloseable,org.openziti.util.Logged
public final class ZitiSSLSocket extends SSLSocket implements Logged
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classZitiSSLSocket.Companionpublic final classZitiSSLSocket.Outputpublic final classZitiSSLSocket.Input
-
Constructor Summary
Constructors Constructor Description ZitiSSLSocket(Socket s, InetAddress addr, Integer port)ZitiSSLSocket(Socket s, String host, Integer port)ZitiSSLSocket(Socket transport, SSLEngine engine)
-
Method Summary
-
Methods inherited from class java.net.Socket
bind, close, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOption, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setOption, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSoLinger, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, supportedOptions, toString -
Methods inherited from class org.openziti.util.Logged
d, d, e, e, e, e, i, i, t, t, v, v, w, w -
Methods inherited from class javax.net.ssl.SSLSocket
getApplicationProtocol, getHandshakeApplicationProtocol, getHandshakeApplicationProtocolSelector, getHandshakeSession, getSSLParameters, setHandshakeApplicationProtocolSelector, setSSLParameters -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getOutput
final ZitiSSLSocket.Output getOutput()
-
getInput
final ZitiSSLSocket.Input getInput()
-
getTransport
final Socket getTransport()
-
getOutputStream
OutputStream getOutputStream()
-
getInputStream
InputStream getInputStream()
-
startHandshake
Unit startHandshake()
-
getSession
SSLSession getSession()
-
getSoTimeout
Integer getSoTimeout()
-
setSoTimeout
Unit setSoTimeout(Integer timeout)
-
setUseClientMode
Unit setUseClientMode(Boolean mode)
-
setEnabledProtocols
Unit setEnabledProtocols(Array<out String> protocols)
-
setEnabledCipherSuites
Unit setEnabledCipherSuites(Array<out String> suites)
-
getUseClientMode
Boolean getUseClientMode()
-
getEnableSessionCreation
Boolean getEnableSessionCreation()
-
getEnabledProtocols
Array<String> getEnabledProtocols()
-
getWantClientAuth
Boolean getWantClientAuth()
-
getNeedClientAuth
Boolean getNeedClientAuth()
-
getEnabledCipherSuites
Array<String> getEnabledCipherSuites()
-
setNeedClientAuth
Unit setNeedClientAuth(Boolean need)
-
getSupportedCipherSuites
Array<String> getSupportedCipherSuites()
-
setWantClientAuth
Unit setWantClientAuth(Boolean want)
-
getSupportedProtocols
Array<String> getSupportedProtocols()
-
addHandshakeCompletedListener
Unit addHandshakeCompletedListener(HandshakeCompletedListener listener)
-
removeHandshakeCompletedListener
Unit removeHandshakeCompletedListener(HandshakeCompletedListener listener)
-
setEnableSessionCreation
Unit setEnableSessionCreation(Boolean flag)
-
-
-
-