Expand description
Types modeling end-to-end encryption related Matrix events
These types aim to provide a more strict variant of the equivalent Ruma types. Once deserialized they aim to zeroize all the secret material once the type is dropped.
Modules§
- dummy
- Types for
m.dummy
to-device events. - forwarded_
room_ key - Types for
m.forwarded_room_key
to-device events. - olm_v1
- Module containing specialized event types that were decrypted using the Olm protocol
- room
- Types for room events.
- room_
key - Types for
m.room_key
to-device events. - room_
key_ request - Types for the
m.room_key_request
events. - room_
key_ withheld - Types for the
m.room_key.withheld
events. - secret_
send - Types for
m.secret.send
to-device events.
Structs§
- Crypto
Context Info - Contextual crypto information used by
UtdCause::determine
to properly identify an Unable-To-Decrypt cause in addition to theUnableToDecryptInfo
and raw event info. - ToDevice
Custom Event - A to-device event with an unknown type and content.
- ToDevice
Event - Generic to-device event with a known type and content.
Enums§
- ToDevice
Events - An enum over the various to-device events we support.
- UtdCause
- Our best guess at the reason why an event can’t be decrypted.
Traits§
- Event
Type - A trait for event contents to define their event type.