DecryptedMessage

data class DecryptedMessage(var message: ByteArray?, var isActive: Boolean, var commitDelay: ULong?, var senderClientId: ClientId?, var identity: WireIdentity, var bufferedMessages: List<BufferedDecryptedMessage>?) : Disposable(source)

A decrypted message and various associated metadata.

Constructors

Link copied to clipboard
constructor(message: ByteArray?, isActive: Boolean, commitDelay: ULong?, senderClientId: ClientId?, identity: WireIdentity, bufferedMessages: List<BufferedDecryptedMessage>?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Only set when the decrypted message is a commit.

Link copied to clipboard

Commit delay in seconds.

Link copied to clipboard

Identity claims present in the sender credential.

Link copied to clipboard

False if processing this message caused the client to be removed from the group, i.e. due to a Remove commit.

Link copied to clipboard

Decrypted plaintext

Link copied to clipboard

ClientId of the sender of the message being decrypted. Only present for application messages.

Functions

Link copied to clipboard
open override fun destroy()