Expand description
Event-ID derivation and federation signature verification.
Verification resolves required signing keys through the server-key service and applies room-version signature rules. The local-keys validator returns an event in the form this server stores it, redacted when its content hash does not match.
Re-exportsΒ§
use ruma::CanonicalJsonObject;πuse ruma::CanonicalJsonValue;πuse ruma::EventId;πuse ruma::OwnedEventId;πuse ruma::RoomVersionId;πuse ruma::canonical_json::redact;πuse ruma::room_version_rules::RoomVersionRules;πuse ruma::signatures::Verified;πuse ruma::signatures::verify_event;πuse serde_json::value::RawValue as RawJsonValue;πuse tuwunel_core::Err;πuse tuwunel_core::Result;πuse tuwunel_core::err;πuse tuwunel_core::implement;πuse tuwunel_matrix::event::gen_event_id_canonical_json;πuse tuwunel_matrix::room_version;π
FunctionsΒ§
- stored_
form π - Builds the stored form of a verified event from the received one.
Type AliasesΒ§
- Validated π
- An eventβs derived ID, its stored form, and how it verified.