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

The key data. More...

#include <key_backup_data.h>

Public Attributes

int firstMessageIndex
 The index of the first message in the session that the key can decrypt. More...
 
int forwardedCount
 The number of times this key has been forwarded via key-sharing between devices. More...
 
bool isVerified
 
QJsonObject sessionData
 

Detailed Description

The key data.

Definition at line 9 of file key_backup_data.h.

Member Data Documentation

◆ firstMessageIndex

int Quotient::KeyBackupData::firstMessageIndex

The index of the first message in the session that the key can decrypt.

Definition at line 11 of file key_backup_data.h.

◆ forwardedCount

int Quotient::KeyBackupData::forwardedCount

The number of times this key has been forwarded via key-sharing between devices.

Definition at line 14 of file key_backup_data.h.

◆ isVerified

bool Quotient::KeyBackupData::isVerified

Whether the device backing up the key verified the device that the key is from.

Definition at line 18 of file key_backup_data.h.

◆ sessionData

QJsonObject Quotient::KeyBackupData::sessionData

Algorithm-dependent data. See the documentation for the backup algorithms in Server-side key backups for more information on the expected format of the data.

Definition at line 23 of file key_backup_data.h.


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