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

Device identity keys. More...

#include <device_keys.h>

Inheritance diagram for Quotient::DeviceKeys:

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
 

Detailed Description

Device identity keys.

Definition at line 9 of file device_keys.h.

Member Data Documentation

◆ algorithms

QStringList Quotient::DeviceKeys::algorithms

The encryption algorithms supported by this device.

Definition at line 19 of file device_keys.h.

◆ deviceId

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.

◆ keys

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.

◆ signatures

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.

◆ userId

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.


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