StoredInboundMegolmSession

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

Constructors

Link copied to clipboard
fun StoredInboundMegolmSession(senderKey: Key.Curve25519Key, senderSigningKey: Key.Ed25519Key, sessionId: String, roomId: RoomId, firstKnownIndex: Long, hasBeenBackedUp: Boolean, isTrusted: Boolean, forwardingCurve25519KeyChain: List<Key.Curve25519Key>, pickled: String)

Properties

Link copied to clipboard
Link copied to clipboard
val forwardingCurve25519KeyChain: List<Key.Curve25519Key>
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
val roomId: RoomId
Link copied to clipboard
val senderKey: Key.Curve25519Key
Link copied to clipboard
val senderSigningKey: Key.Ed25519Key
Link copied to clipboard