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

#include <encryptionevent.h>

Inheritance diagram for Quotient::EncryptionEvent:
Collaboration diagram for Quotient::EncryptionEvent:

Public Member Functions

Quotient::EncryptionType encryption () const
 
QString algorithm () const
 
int rotationPeriodMs () const
 
int rotationPeriodMsgs () const
 
bool useEncryption () const
 
template<typename... ContentParamTs>
requires std::constructible_from< base_type, QString, ContentParamTs... > KeylessStateEventBase (ContentParamTs &&... contentParams)
 
 KeylessStateEventBase (const QJsonObject &fullJson)
 
- Public Member Functions inherited from Quotient::KeylessStateEventBase< EncryptionEvent, EncryptionEventContent >
requires std::constructible_from< base_type, QString, ContentParamTs... > KeylessStateEventBase (ContentParamTs &&... contentParams)
 
- Public Member Functions inherited from Quotient::EventTemplate< EventT, BaseEventT, ContentT >
 EventTemplate (const QJsonObject &json)
 
 EventTemplate (const ContentT &c)
 
ContentT content () const
 

Additional Inherited Members

- Public Types inherited from Quotient::EventTemplate< EventT, BaseEventT, ContentT >
using content_type = ContentT
 
- Protected Member Functions inherited from Quotient::KeylessStateEventBase< EncryptionEvent, EncryptionEventContent >
 KeylessStateEventBase (const QJsonObject &fullJson)
 

Detailed Description

Definition at line 24 of file encryptionevent.h.

Member Function Documentation

◆ algorithm()

QString Quotient::EncryptionEvent::algorithm ( ) const
inline

Definition at line 32 of file encryptionevent.h.

◆ encryption()

Quotient::EncryptionType Quotient::EncryptionEvent::encryption ( ) const
inline

Definition at line 31 of file encryptionevent.h.

◆ KeylessStateEventBase() [1/2]

Quotient::KeylessStateEventBase< EventT, ContentT >::KeylessStateEventBase
inlineexplicit

Definition at line 136 of file stateevent.h.

◆ KeylessStateEventBase() [2/2]

template<typename... ContentParamTs>
requires std::constructible_from<base_type, QString, ContentParamTs...> Quotient::KeylessStateEventBase< EventT, ContentT >::KeylessStateEventBase ( typename...  ContentParamTs)
inlineexplicit

Definition at line 131 of file stateevent.h.

◆ rotationPeriodMs()

int Quotient::EncryptionEvent::rotationPeriodMs ( ) const
inline

Definition at line 33 of file encryptionevent.h.

◆ rotationPeriodMsgs()

int Quotient::EncryptionEvent::rotationPeriodMsgs ( ) const
inline

Definition at line 34 of file encryptionevent.h.

◆ useEncryption()

bool Quotient::EncryptionEvent::useEncryption ( ) const
inline

Definition at line 36 of file encryptionevent.h.


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