5#ifndef QXMPPATMMANAGER_H
6#define QXMPPATMMANAGER_H
8#include "QXmppAtmTrustStorage.h"
9#include "QXmppSendResult.h"
10#include "QXmppTrustManager.h"
23 QXmppTask<void> makeTrustDecisions(
const QString &encryption,
const QString &keyOwnerJid,
const QList<QByteArray> &keyIdsForAuthentication,
const QList<QByteArray> &keyIdsForDistrusting = {});
31 Q_SLOT
void handleMessageReceived(
const QXmppMessage &message);
34 QXmppTask<void> makeTrustDecisions(
const QString &encryption,
const QMultiHash<QString, QByteArray> &keyIdsForAuthentication,
const QMultiHash<QString, QByteArray> &keyIdsForDistrusting);
52 friend class tst_QXmppAtmManager;
QXmppTask< void > makePostponedTrustDecisions(const QString &encryption, const QList< QByteArray > &senderKeyIds)
Definition QXmppAtmManager.cpp:457
QXmppTask< void > makeTrustDecisions(const QString &encryption, const QString &keyOwnerJid, const QList< QByteArray > &keyIdsForAuthentication, const QList< QByteArray > &keyIdsForDistrusting={})
Definition QXmppAtmManager.cpp:81
QXmppTask< void > distrust(const QString &encryption, const QMultiHash< QString, QByteArray > &keyIds)
Definition QXmppAtmManager.cpp:416
QXmppTask< void > distrustAutomaticallyTrustedKeys(const QString &encryption, const QList< QString > &keyOwnerJids)
Definition QXmppAtmManager.cpp:442
QXmppTask< void > handleMessage(const QXmppMessage &message)
Definition QXmppAtmManager.cpp:294
QXmppTask< void > authenticate(const QString &encryption, const QMultiHash< QString, QByteArray > &keyIds)
Definition QXmppAtmManager.cpp:378
QXmppTask< QXmpp::SendResult > sendTrustMessage(const QString &encryption, const QList< QXmppTrustMessageKeyOwner > &keyOwners, const QString &recipientJid)
Definition QXmppAtmManager.cpp:486
The QXmppAtmTrustStorage class stores trust data for XEP-0450: Automatic Trust Management (ATM).
Definition QXmppAtmTrustStorage.h:15
virtual void onUnregistered(QXmppClient *client)
Definition QXmppClientExtension.cpp:95
virtual void onRegistered(QXmppClient *client)
Definition QXmppClientExtension.cpp:85
QXmppClient * client() const
Definition QXmppClientExtension.cpp:57
The QXmppMessage class represents an XMPP message.
Definition QXmppMessage.h:64
Definition QXmppTask.h:62
QXmppTrustManager(QXmppTrustStorage *trustStorage)
Definition QXmppTrustManager.cpp:32
The QXmppTrustMessageKeyOwner class represents a key owner of the trust message as defined by XEP-043...
Definition QXmppTrustMessageKeyOwner.h:17
QXmppAtmManager(QXmppAtmTrustStorage *trustStorage)
Definition QXmppAtmManager.cpp:66