TLSSocket
TCP socket that supports encryption via TLS.
To construct a
TLSSocket, use the client and server methods on TLSContext.- Companion
- object
Value members
Methods
Provides access to the current
session info such as the negotiated cipher suite or the peer certificate.
SSLSession for purposes of queryingsession info such as the negotiated cipher suite or the peer certificate.
Inherited methods
Indicates that this channel will not read more data. Causes
End-Of-Stream be signalled to available.- Inhertied from
- Socket
Reads up to
maxBytes from the peer.Returns
None if the "end of stream" is reached, indicating there will be no more bytes sent.- Inhertied from
- Socket