5#ifndef QXMPPTRUSTMEMORYSTORAGE_H
6#define QXMPPTRUSTMEMORYSTORAGE_H
8#include "QXmppTrustStorage.h"
12class QXmppTrustMemoryStoragePrivate;
35 QXmppTask<bool> hasKey(
const QString &encryption,
const QString &keyOwnerJid, QXmpp::TrustLevels trustLevels)
override;
45 std::unique_ptr<QXmppTrustMemoryStoragePrivate> d;
Definition QXmppTask.h:62
The QXmppTrustMemoryStorage class stores trust data for end-to-end encryption in the memory.
Definition QXmppTrustMemoryStorage.h:15
The QXmppTrustStorage class stores end-to-end encryption trust data.
Definition QXmppTrustStorage.h:16
virtual QXmppTask< void > resetAll(const QString &encryption)=0
virtual QXmppTask< void > removeKeys(const QString &encryption, const QList< QByteArray > &keyIds)=0
virtual QXmppTask< void > resetSecurityPolicy(const QString &encryption)=0
virtual QXmppTask< QXmpp::TrustLevel > trustLevel(const QString &encryption, const QString &keyOwnerJid, const QByteArray &keyId)=0
virtual QXmppTask< void > setSecurityPolicy(const QString &encryption, QXmpp::TrustSecurityPolicy securityPolicy)=0
virtual QXmppTask< QHash< QXmpp::TrustLevel, QMultiHash< QString, QByteArray > > > keys(const QString &encryption, QXmpp::TrustLevels trustLevels={})=0
virtual QXmppTask< QXmpp::TrustSecurityPolicy > securityPolicy(const QString &encryption)=0
virtual QXmppTask< QByteArray > ownKey(const QString &encryption)=0
virtual QXmppTask< void > setOwnKey(const QString &encryption, const QByteArray &keyId)=0
virtual QXmppTask< bool > hasKey(const QString &encryption, const QString &keyOwnerJid, QXmpp::TrustLevels trustLevels)=0
virtual QXmppTask< void > addKeys(const QString &encryption, const QString &keyOwnerJid, const QList< QByteArray > &keyIds, QXmpp::TrustLevel trustLevel=QXmpp::TrustLevel::AutomaticallyDistrusted)=0
virtual QXmppTask< QHash< QString, QMultiHash< QString, QByteArray > > > setTrustLevel(const QString &encryption, const QMultiHash< QString, QByteArray > &keyIds, QXmpp::TrustLevel trustLevel)=0
virtual QXmppTask< void > resetOwnKey(const QString &encryption)=0
TrustLevel
Definition QXmppTrustLevel.h:19
@ AutomaticallyDistrusted
TrustSecurityPolicy
Definition QXmppTrustSecurityPolicy.h:18