// SPDX-FileCopyrightText: 2022 Melvin Keskin // // SPDX-License-Identifier: LGPL-2.1-or-later #ifndef QXMPPATMTRUSTMEMORYSTORAGE_H #define QXMPPATMTRUSTMEMORYSTORAGE_H #include "QXmppAtmTrustStorage.h" #include "QXmppTrustMemoryStorage.h" class QXmppAtmTrustMemoryStoragePrivate; class QXMPP_EXPORT QXmppAtmTrustMemoryStorage : virtual public QXmppAtmTrustStorage, public QXmppTrustMemoryStorage { public: QXmppAtmTrustMemoryStorage(); ~QXmppAtmTrustMemoryStorage(); /// \cond QXmppTask addKeysForPostponedTrustDecisions(const QString &encryption, const QByteArray &senderKeyId, const QList &keyOwners) override; QXmppTask removeKeysForPostponedTrustDecisions(const QString &encryption, const QList &keyIdsForAuthentication, const QList &keyIdsForDistrusting) override; QXmppTask removeKeysForPostponedTrustDecisions(const QString &encryption, const QList &senderKeyIds) override; QXmppTask removeKeysForPostponedTrustDecisions(const QString &encryption) override; QXmppTask>> keysForPostponedTrustDecisions(const QString &encryption, const QList &senderKeyIds = {}) override; QXmppTask resetAll(const QString &encryption) override; /// \endcond private: const std::unique_ptr d; }; #endif // QXMPPATMTRUSTMEMORYSTORAGE_H