Module matrix_sdk::encryption::verification

source ·
Expand description

Interactive verification for E2EE capable users and devices in Matrix.

The SDK supports interactive verification of devices and users, this module contains types that model and support different verification flows.

A verification flow usually starts its life as a VerificationRequest, the request can then be accepted, or it needs to be accepted by the other side of the verification flow.

Once both sides have agreed to perform the verification, and the VerificationRequest::is_ready() method returns true, the verification can transition into one of the supported verification flows:

  • SasVerification - Interactive verification using a short authentication string.
  • [QrVerification] - Interactive verification using QR codes.

Structs§

  • Customize the accept-reply for a verification process
  • Struct containing the protocols that were agreed to be used for the SAS flow.
  • Information about the cancellation of a verification request or verification flow.
  • An emoji that is used for interactive verification using a short auth string.
  • The short auth string for the emoji method of SAS verification.
  • An object controlling the short auth string verification flow.
  • An object controlling the interactive verification flow.

Enums§

  • An Enum describing the state the SAS verification is in.
  • An enum over the different verification types the SDK supports.
  • An Enum describing the state the verification request is in.

Functions§