pub type DecryptedForwardedRoomKeyEvent = DecryptedOlmV1Event<ForwardedRoomKeyContent>;
Expand description
An m.forwarded_room_key
event that was decrypted using the
m.olm.v1.curve25519-aes-sha2
algorithm
Aliased Type§
struct DecryptedForwardedRoomKeyEvent {
pub sender: OwnedUserId,
pub recipient: OwnedUserId,
pub keys: OlmV1Keys,
pub recipient_keys: OlmV1Keys,
pub sender_device_keys: Option<DeviceKeys>,
pub content: ForwardedRoomKeyContent,
}
Fields§
§sender: OwnedUserId
The sender of the event, as set by the sender of the event.
recipient: OwnedUserId
The intended recipient of the event, as set by the sender of the event.
keys: OlmV1Keys
The sender’s signing keys of the encrypted event.
recipient_keys: OlmV1Keys
The recipient’s signing keys of the encrypted event.
sender_device_keys: Option<DeviceKeys>
The device keys if supplied as per MSC4147
content: ForwardedRoomKeyContent
The type of the event.
Implementations§
Source§impl DecryptedForwardedRoomKeyEvent
impl DecryptedForwardedRoomKeyEvent
Sourcepub fn room_key_info(&self) -> Option<SupportedKeyInfo>
pub fn room_key_info(&self) -> Option<SupportedKeyInfo>
Get the unique info about the room key that is contained in this forwarded room key event.
Returns None
if we do not understand the algorithm that was used to
encrypt the event.