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
fun MXEventDecryptionResult(    clearEvent: JsonDict,     senderCurve25519Key: String? = null,     claimedEd25519Key: String? = null,     forwardingCurve25519KeyChain: List<String> = emptyList(),     messageVerificationState: MessageVerificationState? = null)

Properties

Link copied to clipboard
val claimedEd25519Key: String? = null

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

Link copied to clipboard
val clearEvent: JsonDict

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

Link copied to clipboard
val forwardingCurve25519KeyChain: List<String>

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

Link copied to clipboard
val messageVerificationState: MessageVerificationState? = null
Link copied to clipboard
val senderCurve25519Key: String? = null

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