StoredInboundMegolmSession

@Serializable
data class StoredInboundMegolmSession(val senderKey: KeyValue.Curve25519KeyValue, val senderSigningKey: KeyValue.Ed25519KeyValue, val sessionId: String, val roomId: RoomId, val firstKnownIndex: Long, val hasBeenBackedUp: Boolean, val isTrusted: Boolean, val forwardingCurve25519KeyChain: List<KeyValue.Curve25519KeyValue>, val pickled: String)

Constructors

Link copied to clipboard
constructor(senderKey: KeyValue.Curve25519KeyValue, senderSigningKey: KeyValue.Ed25519KeyValue, sessionId: String, roomId: RoomId, firstKnownIndex: Long, hasBeenBackedUp: Boolean, isTrusted: Boolean, forwardingCurve25519KeyChain: List<KeyValue.Curve25519KeyValue>, pickled: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

This means, that we can trust the communication channel from which we received the session from. For example the key backup cannot be trusted due to async encryption. This does NOT mean, that we trust this megolm session. It needs to be checked whether we trust the sender key.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard