struct
#include <include/mtx/events/encrypted.hpp>
KeyVerificationStart Content of the m.key.verification.start
event.
Public variables
- std::string from_device
- The device ID which is initiating the process.
- std::optional<std::string> transaction_id
- An opaque identifier for the verification process.
- VerificationMethods method
- The verification method to use. Must be 'm.sas.v1'.
- std::optional<std::string> next_method
- Optional method to use to verify the other user's key with.
- std::vector<std::string> key_agreement_protocols
- The key agreement protocols the sending device understands.
- std::vector<std::string> hashes
- The hash methods the sending device understands. Must include at least sha256.
- std::vector<std::string> message_authentication_codes
- The message authentication codes that the sending device understands.
- std::vector<SASMethods> short_authentication_string
- The SAS methods the sending device (and the sending device's user) understands.
-
common::
Relations relations - This is used for relating this message with previously sent
key.verification.request
Variable documentation
std::optional<std::string> mtx:: events:: msg:: KeyVerificationStart:: transaction_id
An opaque identifier for the verification process.
Must be unique with respect to the devices involved. Must be the same as the transaction_id given in the m.key.verification.request
if this process is originating from a request.
std::optional<std::string> mtx:: events:: msg:: KeyVerificationStart:: next_method
Optional method to use to verify the other user's key with.
std::vector<std::string> mtx:: events:: msg:: KeyVerificationStart:: key_agreement_protocols
The key agreement protocols the sending device understands.
Must include at least curve25519.
std::vector<std::string> mtx:: events:: msg:: KeyVerificationStart:: message_authentication_codes
The message authentication codes that the sending device understands.
Must include at least hkdf-hmac-sha256.
std::vector<SASMethods> mtx:: events:: msg:: KeyVerificationStart:: short_authentication_string
The SAS methods the sending device (and the sending device's user) understands.
Must include at least decimal. Optionally can include emoji.
One of:
decimal
emoji
common:: Relations mtx:: events:: msg:: KeyVerificationStart:: relations
This is used for relating this message with previously sent key.verification.request