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);
37 QXmppTask<void> authenticate(
const QString &encryption,
const QMultiHash<QString, QByteArray> &keyIds);
38 QXmppTask<void> distrust(
const QString &encryption,
const QMultiHash<QString, QByteArray> &keyIds);
40 QXmppTask<void> distrustAutomaticallyTrustedKeys(
const QString &encryption,
const QList<QString> &keyOwnerJids);
41 QXmppTask<void> makePostponedTrustDecisions(
const QString &encryption,
const QList<QByteArray> &senderKeyIds);
43 QXmppTask<QXmpp::SendResult> sendTrustMessage(
const QString &encryption,
const QList<QXmppTrustMessageKeyOwner> &keyOwners,
const QString &recipientJid);
52 friend class tst_QXmppAtmManager;
The QXmppAtmManager class represents a manager for XEP-0450: Automatic Trust Management (ATM).
Definition: QXmppAtmManager.h:18
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
Main class for starting and managing connections to XMPP servers.
Definition: QXmppClient.h:62
The QXmppMessage class represents an XMPP message.
Definition: QXmppMessage.h:64
Definition: QXmppTask.h:62
The QXmppTrustManager manages end-to-end encryption trust decisions.
Definition: QXmppTrustManager.h:18
The QXmppTrustMessageKeyOwner class represents a key owner of the trust message as defined by XEP-043...
Definition: QXmppTrustMessageKeyOwner.h:17