ruma::events::key

Module verification

Source
Available on crate feature events only.
Expand description

Modules for events in the m.key.verification namespace.

This module also contains types shared by events in its child namespaces.

The MSC for the in-room variants of the m.key.verification.* events can be found on MSC2241.

Modules§

accept
Types for the m.key.verification.accept event.
cancel
Types for the m.key.verification.cancel event.
done
Types for the m.key.verification.done event.
key
Types for the m.key.verification.key event.
mac
Types for the m.key.verification.mac event.
ready
Types for the m.key.verification.ready event.
request
Types for the m.key.verification.request event.
start
Types for the m.key.verification.start event.

Enums§

HashAlgorithm
A hash algorithm.
KeyAgreementProtocol
A key agreement protocol.
MessageAuthenticationCode
A message authentication code algorithm.
ShortAuthenticationString
A Short Authentication String method.
VerificationMethod
A Short Authentication String (SAS) verification method.

Constants§

REQUEST_RECEIVED_TIMEOUT
The amount of time after which a verification request should be ignored, relative to the time it was received by the client.
REQUEST_TIMESTAMP_TIMEOUT
The amount of time after which a verification request should be ignored, relative to its origin_server_ts (for in-room events) or its timestamp (for to-device events).