interface SecureScuttlebuttStreamClient
(source)
Interface used to encrypt and decrypt messages to and from a server.
abstract fun readFromServer(message: Bytes): Bytes
Adds message bytes to the reader stream, returning the bytes that could be decrypted. |
|
abstract fun sendGoodbyeToServer(): Bytes
Prepares a goodbye message to be sent to the server |
|
abstract fun sendToServer(message: Bytes): Bytes
Prepares a message to be sent to the server |