QXmpp
Version: 1.15.1
Toggle main menu visibility
Loading...
Searching...
No Matches
QXmppAtmTrustMemoryStorage.h
1
// SPDX-FileCopyrightText: 2022 Melvin Keskin <melvo@olomono.de>
2
//
3
// SPDX-License-Identifier: LGPL-2.1-or-later
4
5
#ifndef QXMPPATMTRUSTMEMORYSTORAGE_H
6
#define QXMPPATMTRUSTMEMORYSTORAGE_H
7
8
#include "QXmppAtmTrustStorage.h"
9
#include "QXmppTrustMemoryStorage.h"
10
11
class
QXmppAtmTrustMemoryStoragePrivate;
12
13
class
QXMPP_EXPORT
QXmppAtmTrustMemoryStorage
:
virtual
public
QXmppAtmTrustStorage
,
public
QXmppTrustMemoryStorage
14
{
15
public
:
16
QXmppAtmTrustMemoryStorage
();
17
~QXmppAtmTrustMemoryStorage
();
18
20
QXmppTask<void>
addKeysForPostponedTrustDecisions
(
const
QString &encryption,
const
QByteArray &senderKeyId,
const
QList<QXmppTrustMessageKeyOwner> &keyOwners)
override
;
21
QXmppTask<void>
removeKeysForPostponedTrustDecisions
(
const
QString &encryption,
const
QList<QByteArray> &keyIdsForAuthentication,
const
QList<QByteArray> &keyIdsForDistrusting)
override
;
22
QXmppTask<void>
removeKeysForPostponedTrustDecisions
(
const
QString &encryption,
const
QList<QByteArray> &senderKeyIds)
override
;
23
QXmppTask<void>
removeKeysForPostponedTrustDecisions
(
const
QString &encryption)
override
;
24
QXmppTask<QHash<bool, QMultiHash<QString, QByteArray>
>>
keysForPostponedTrustDecisions
(
const
QString &encryption,
const
QList<QByteArray> &senderKeyIds = {})
override
;
25
26
QXmppTask<void>
resetAll
(
const
QString &encryption)
override
;
28
29
private
:
30
const
std::unique_ptr<QXmppAtmTrustMemoryStoragePrivate> d;
31
};
32
33
#endif
// QXMPPATMTRUSTMEMORYSTORAGE_H
QXmppAtmTrustMemoryStorage::QXmppAtmTrustMemoryStorage
QXmppAtmTrustMemoryStorage()
Definition
QXmppAtmTrustMemoryStorage.cpp:42
QXmppAtmTrustStorage
The QXmppAtmTrustStorage class stores trust data for XEP-0450: Automatic Trust Management (ATM).
Definition
QXmppAtmTrustStorage.h:15
QXmppAtmTrustStorage::keysForPostponedTrustDecisions
virtual QXmppTask< QHash< bool, QMultiHash< QString, QByteArray > > > keysForPostponedTrustDecisions(const QString &encryption, const QList< QByteArray > &senderKeyIds={})=0
QXmppAtmTrustStorage::addKeysForPostponedTrustDecisions
virtual QXmppTask< void > addKeysForPostponedTrustDecisions(const QString &encryption, const QByteArray &senderKeyId, const QList< QXmppTrustMessageKeyOwner > &keyOwners)=0
QXmppAtmTrustStorage::removeKeysForPostponedTrustDecisions
virtual QXmppTask< void > removeKeysForPostponedTrustDecisions(const QString &encryption, const QList< QByteArray > &keyIdsForAuthentication, const QList< QByteArray > &keyIdsForDistrusting)=0
QXmppTask
Definition
QXmppTask.h:330
QXmppTrustMemoryStorage::QXmppTrustMemoryStorage
QXmppTrustMemoryStorage()
Definition
QXmppTrustMemoryStorage.cpp:45
QXmppTrustStorage::resetAll
virtual QXmppTask< void > resetAll(const QString &encryption)=0
src
client
QXmppAtmTrustMemoryStorage.h
Generated by
1.17.0