HandshakeStateReader

data class HandshakeStateReader(messages: List<List<MessagePattern>>, state: SymmetricState, s: Pair<ByteArray, ByteArray>, e: Pair<ByteArray, ByteArray>, rs: ByteArray, re: ByteArray, dh: DHFunctions, byteStream: ByteStream) : HandshakeState

Types

Companion
Link copied to clipboard
common
object Companion

Functions

read
Link copied to clipboard
common
fun read(message: ByteArray): Triple<HandshakeStateWriter, ByteArray, Triple<CipherState, CipherState, ByteArray>?>
toWriter
Link copied to clipboard
common
fun toWriter(): HandshakeStateWriter

Properties

byteStream
Link copied to clipboard
common
val byteStream: ByteStream
dh
Link copied to clipboard
common
val dh: DHFunctions
e
Link copied to clipboard
common
val e: Pair<ByteArray, ByteArray>
messages
Link copied to clipboard
common
val messages: List<List<MessagePattern>>
re
Link copied to clipboard
common
val re: ByteArray
rs
Link copied to clipboard
common
val rs: ByteArray
s
Link copied to clipboard
common
val s: Pair<ByteArray, ByteArray>
state
Link copied to clipboard
common
val state: SymmetricState