open fun push(clearText: Bytes!): Bytes!
(source)
Push a message to this secret stream.
clearText
- Bytes!: The message to encrypt.
Return
Bytes!: The encrypted message.
open fun push(clearText: ByteArray!): ByteArray!
(source)
Push a message to this secret stream.
clearText
- ByteArray!: The message to encrypt.
Return
ByteArray!: The encrypted message.
open fun push(clearText: Bytes!, isFinal: Boolean): Bytes!
(source)
Push a message to this secret stream.
clearText
- Bytes!: The message to encrypt.
isFinal
- Boolean: true
if this is the final message that will be sent on this stream.
Return
Bytes!: The encrypted message.
abstract fun push(clearText: ByteArray!, isFinal: Boolean): ByteArray!
(source)
Push a message to this secret stream.
clearText
- ByteArray!: The message to encrypt.
isFinal
- Boolean: true
if this is the final message that will be sent on this stream.
Return
ByteArray!: The encrypted message.