libQuotient
A Qt library for building matrix clients
Quotient::QueryKeysJob::Response Struct Reference

#include <keys.h>

Public Attributes

QHash< QString, QJsonObject > failures {}
 
QHash< UserId, QHash< QString, DeviceInformation > > deviceKeys {}
 
QHash< UserId, CrossSigningKeymasterKeys {}
 
QHash< UserId, CrossSigningKeyselfSigningKeys {}
 
QHash< UserId, CrossSigningKeyuserSigningKeys {}
 

Detailed Description

Definition at line 152 of file keys.h.

Member Data Documentation

◆ deviceKeys

QHash<UserId, QHash<QString, DeviceInformation> > Quotient::QueryKeysJob::Response::deviceKeys {}

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.

Definition at line 167 of file keys.h.

◆ failures

QHash<QString, QJsonObject> Quotient::QueryKeysJob::Response::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.

If the homeserver could be reached, but the user or device was unknown, no failure is recorded. Instead, the corresponding user or device is missing from the device_keys result.

Definition at line 160 of file keys.h.

◆ masterKeys

QHash<UserId, CrossSigningKey> Quotient::QueryKeysJob::Response::masterKeys {}

Information on the master cross-signing keys of the queried users. A map from user ID, to master key information. For each key, the information returned will be the same as uploaded via /keys/device_signing/upload, along with the signatures uploaded via /keys/signatures/upload that the requesting user is allowed to see.

Definition at line 175 of file keys.h.

◆ selfSigningKeys

QHash<UserId, CrossSigningKey> Quotient::QueryKeysJob::Response::selfSigningKeys {}

Information on the self-signing keys of the queried users. A map from user ID, to self-signing key information. For each key, the information returned will be the same as uploaded via /keys/device_signing/upload.

Definition at line 181 of file keys.h.

◆ userSigningKeys

QHash<UserId, CrossSigningKey> Quotient::QueryKeysJob::Response::userSigningKeys {}

Information on the user-signing key of the user making the request, if they queried their own device information. A map from user ID, to user-signing key information. The information returned will be the same as uploaded via /keys/device_signing/upload.

Definition at line 188 of file keys.h.


The documentation for this struct was generated from the following file: