aboutsummaryrefslogtreecommitdiff
path: root/atm_db.cpp
blob: f0389597ff109c50abb9397f781208c209e51276 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#include "atm_db.h"
#include <QXmppFutureUtils_p.h>

AtmDb::AtmDb(const QString &jid, const JidDb &db) :
    TrustDb(jid, db)
{}

QXmppTask<void> AtmDb::addKeysForPostponedTrustDecisions(
    const QString &encryption, const QByteArray &senderKeyId,
    const QList<QXmppTrustMessageKeyOwner> &keyOwners)
{
    return QXmpp::Private::makeReadyTask();
}

QXmppTask<void> AtmDb::removeKeysForPostponedTrustDecisions(
    const QString &encryption,
    const QList<QByteArray> &keyIdsForAuthentication,
    const QList<QByteArray> &keyIdsForDistrusting)
{
    return QXmpp::Private::makeReadyTask();
}

QXmppTask<void> AtmDb::removeKeysForPostponedTrustDecisions(
    const QString &encryption,
    const QList<QByteArray> &senderKeyIds)
{
    return QXmpp::Private::makeReadyTask();
}

QXmppTask<void> AtmDb::removeKeysForPostponedTrustDecisions(
    const QString &encryption)
{
    return QXmpp::Private::makeReadyTask();
}

QXmppTask<QHash<bool, QMultiHash<QString, QByteArray>>>
    AtmDb::keysForPostponedTrustDecisions(const QString &encryption,
    const QList<QByteArray> &senderKeyIds)
{
    return QXmpp::Private::makeReadyTask(
        QHash<bool, QMultiHash<QString, QByteArray>>());
}