Expand description
An implementation of the Megolm ratchet.
Structs§
- Decrypted
Message - A message successfully decrypted by an
InboundGroupSession
. - Exported
Session Key - The exported session key.
- Group
Session - A Megolm group session represents a single sending participant in an encrypted group communication context containing multiple receiving parties.
- Group
Session Pickle - A format suitable for serialization which implements
serde::Serialize
andserde::Deserialize
. Obtainable by callingGroupSession::pickle
. - Inbound
Group Session - A Megolm inbound group session represents a single receiving participant in an encrypted group communication involving multiple recipients.
- Inbound
Group Session Pickle - A format suitable for serialization which implements
serde::Serialize
andserde::Deserialize
. Obtainable by callingInboundGroupSession::pickle
. - Megolm
Message - An encrypted Megolm message.
- Session
Config - A struct to configure how Megolm sessions should work under the hood. Currently only the MAC truncation behaviour can be configured.
- Session
Key - The session key, can be used to create a
InboundGroupSession
.
Enums§
- Decryption
Error - Error type for Megolm-based decryption failures.
- Session
KeyDecode Error - Error type describing failure modes for the
SessionKey
andExportedSessionKey
decoding. - Session
Ordering - The result of a comparison between two
InboundGroupSession
types.