DecryptedMessage

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

A decrypted message and various associated metadata

Constructors

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

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

New CRL distribution points that appeared by the introduction of a new credential

Link copied to clipboard

true when the decrypted message resulted in an epoch change i.e. it was a commit

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()