libQuotient
A Qt library for building matrix clients
Quotient::EncryptionEventContent Class Reference

#include <encryptionevent.h>

Public Member Functions

QUO_IMPLICIT EncryptionEventContent (Quotient::EncryptionType et)
 
 EncryptionEventContent (const QJsonObject &json)
 
QJsonObject toJson () const
 

Public Attributes

Quotient::EncryptionType encryption
 
QString algorithm {}
 
int rotationPeriodMs = 604'800'000
 
int rotationPeriodMsgs = 100
 

Detailed Description

Definition at line 11 of file encryptionevent.h.

Constructor & Destructor Documentation

◆ EncryptionEventContent() [1/2]

QUO_IMPLICIT Quotient::EncryptionEventContent::EncryptionEventContent ( Quotient::EncryptionType  et)

◆ EncryptionEventContent() [2/2]

Quotient::EncryptionEventContent::EncryptionEventContent ( const QJsonObject &  json)
explicit

Member Function Documentation

◆ toJson()

QJsonObject Quotient::EncryptionEventContent::toJson ( ) const

Member Data Documentation

◆ algorithm

QString Quotient::EncryptionEventContent::algorithm {}

Definition at line 20 of file encryptionevent.h.

◆ encryption

Quotient::EncryptionType Quotient::EncryptionEventContent::encryption

Definition at line 19 of file encryptionevent.h.

◆ rotationPeriodMs

int Quotient::EncryptionEventContent::rotationPeriodMs = 604'800'000

Definition at line 21 of file encryptionevent.h.

◆ rotationPeriodMsgs

int Quotient::EncryptionEventContent::rotationPeriodMsgs = 100

Definition at line 22 of file encryptionevent.h.


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