interface SecretEncryptionStream : Destroyable
(source)
Used to encrypt a sequence of messages, or a single message split into arbitrary chunks.
header |
Returns the header for the stream open fun header(): Bytes! |
headerArray |
Returns the header for the stream abstract fun headerArray(): ByteArray! |
push |
Push a message to this secret stream. open fun push(clearText: Bytes!): Bytes! open fun push(clearText: ByteArray!): ByteArray! open fun push(clearText: Bytes!, isFinal: Boolean): Bytes! abstract fun push(clearText: ByteArray!, isFinal: Boolean): ByteArray! |
pushLast |
Push the final message to this secret stream. open fun pushLast(clearText: Bytes!): Bytes! open fun pushLast(clearText: ByteArray!): ByteArray! |