libQuotient
A Qt library for building matrix clients
Loading...
Searching...
No Matches
Quotient::SignedOneTimeKey Class Reference

#include <e2ee_common.h>

Public Member Functions

 SignedOneTimeKey (const QString &unsignedKey, const QString &userId, const QString &deviceId, const QByteArray &signature)
 
 SignedOneTimeKey (const QJsonObject &jo={})
 
auto toJson () const
 Whether the key is a fallback key.
 

Detailed Description

Definition at line 220 of file e2ee_common.h.

Constructor & Destructor Documentation

◆ SignedOneTimeKey() [1/2]

Quotient::SignedOneTimeKey::SignedOneTimeKey ( const QString &  unsignedKey,
const QString &  userId,
const QString &  deviceId,
const QByteArray &  signature 
)
inlineexplicit

Definition at line 222 of file e2ee_common.h.

◆ SignedOneTimeKey() [2/2]

Quotient::SignedOneTimeKey::SignedOneTimeKey ( const QJsonObject &  jo = {})
inlineexplicit

Definition at line 233 of file e2ee_common.h.

Member Function Documentation

◆ toJson()

auto Quotient::SignedOneTimeKey::toJson ( ) const
inline

Whether the key is a fallback key.

Definition at line 239 of file e2ee_common.h.


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