MXEventDecryptionResult

data class MXEventDecryptionResult(val clearEvent: JsonDict, val senderCurve25519Key: String? = null, val claimedEd25519Key: String? = null, val forwardingCurve25519KeyChain: List<String> = emptyList(), val messageVerificationState: MessageVerificationState? = null)

The result of a (successful) call to decryptEvent.

Constructors

Link copied to clipboard
constructor(clearEvent: JsonDict, senderCurve25519Key: String? = null, claimedEd25519Key: String? = null, forwardingCurve25519KeyChain: List<String> = emptyList(), messageVerificationState: MessageVerificationState? = null)

Properties

Link copied to clipboard

Ed25519 key claimed by the sender of this event. See MXEvent.claimedEd25519Key.

Link copied to clipboard

The plaintext payload for the event (typically containing "type" and "content" fields).

Link copied to clipboard

List of curve25519 keys involved in telling us about the senderCurve25519Key and claimedEd25519Key. See MXEvent.forwardingCurve25519KeyChain.

Link copied to clipboard

Key owned by the sender of this event. See MXEvent.senderKey.