libQuotient
A Qt library for building matrix clients
|
#include <device_keys.h>
Public Attributes | |
QString | userId |
QString | deviceId |
QStringList | algorithms |
The encryption algorithms supported by this device. More... | |
QHash< QString, QString > | keys |
QHash< UserId, QHash< QString, QString > > | signatures |
Device identity keys.
Definition at line 9 of file device_keys.h.
QStringList Quotient::DeviceKeys::algorithms |
The encryption algorithms supported by this device.
Definition at line 19 of file device_keys.h.
QString Quotient::DeviceKeys::deviceId |
The ID of the device these keys belong to. Must match the device ID used when logging in.
Definition at line 16 of file device_keys.h.
QHash<QString, QString> Quotient::DeviceKeys::keys |
Public identity keys. The names of the properties should be in the format <algorithm>:<device_id>
. The keys themselves should be encoded as specified by the key algorithm.
Definition at line 24 of file device_keys.h.
QHash<UserId, QHash<QString, QString> > Quotient::DeviceKeys::signatures |
Signatures for the device key object. A map from user ID, to a map from <algorithm>:<device_id>
to the signature.
The signature is calculated using the process described at Signing JSON.
Definition at line 31 of file device_keys.h.
QString Quotient::DeviceKeys::userId |
The ID of the user the device belongs to. Must match the user ID used when logging in.
Definition at line 12 of file device_keys.h.