mtx::events::msg::KeyRequest struct

A request to share a session key.

Public variables

RequestAction action
The type of request.
std::string algorithm
The encryption algorithm of the session we want keys for.
std::string room_id
The room in which the session was created.
std::string sender_key
The curve25519 key of the session creator.
std::string session_id
The session_id of the outbound megolm session.
std::string request_id
A unique identifier for this request.
std::string requesting_device_id
The device requesting the keys.

Variable documentation

std::string mtx::events::msg::KeyRequest::algorithm

The encryption algorithm of the session we want keys for.

Always m.megolm.v1.aes-sha2.