mtx::responses::QueryKeys struct

Response from the POST /_matrix/client/r0/keys/query endpoint.

Public variables

std::map<std::string, std::string> failures
If any remote homeservers could not be reached, they are recorded here. The names of the properties are the names of the unreachable servers.
std::map<std::string, DeviceToKeysMap> device_keys
Information on the queried devices. A map from user ID, to a map from device ID to device information. For each device, the information returned will be the same as uploaded via /keys/upload, with the addition of an unsigned property.
std::map<std::string, mtx::crypto::CrossSigningKeys> master_keys
A map from user ID, to information about master_keys.
std::map<std::string, mtx::crypto::CrossSigningKeys> user_signing_keys
A map from user ID, to information about user_signing_keys.
std::map<std::string, mtx::crypto::CrossSigningKeys> self_signing_keys
A map from user ID, to information about self_signing_keys.