Skip to main content

Crate xmtp_mls_validation

Crate xmtp_mls_validation 

Source
Expand description

Shared payload admission. Storage and transport remain with their callers.

Structs§

AssociationValidation
ParsedEnvelope
Parsed routing metadata and canonical storage bytes.

Enums§

ValidationError

Functions§

is_commit_or_proposal
Classify an MLS message for retention purposes.
parse_envelope
Decode one envelope, derive its topic, and compute canonical retry bytes.
parse_group_message
Parse an MLS group message and preserve accepted trailing bytes.
validate_envelope
Validate one parsed envelope after duplicate lookup.
validate_identity_updates
Validate a new identity suffix against one complete history snapshot.
verify_key_package
Apply the existing key-package admission checks to serialized bytes.