aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppTrustMemoryStorage.h
diff options
context:
space:
mode:
authorMelvin Keskin <melvo@olomono.de>2021-09-17 01:35:59 +0200
committerLinus Jahn <lnj@kaidan.im>2021-09-25 15:50:45 +0200
commitd071f033c8298fb159eb8f2fb24462e4d0371dc4 (patch)
tree2218e7f22773447a5605325820e631bbff5c4364 /src/client/QXmppTrustMemoryStorage.h
parentceff219b2b7fec21a5feac0b9606a2ebad8c4822 (diff)
downloadqxmpp-d071f033c8298fb159eb8f2fb24462e4d0371dc4.tar.gz
TrustMemoryStorage: Add security policies
Diffstat (limited to 'src/client/QXmppTrustMemoryStorage.h')
-rw-r--r--src/client/QXmppTrustMemoryStorage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/QXmppTrustMemoryStorage.h b/src/client/QXmppTrustMemoryStorage.h
index 6c1eb668..eecbaa33 100644
--- a/src/client/QXmppTrustMemoryStorage.h
+++ b/src/client/QXmppTrustMemoryStorage.h
@@ -38,6 +38,9 @@ public:
~QXmppTrustMemoryStorage();
/// \cond
+ QFuture<void> setSecurityPolicies(const QString &encryption = {}, SecurityPolicy securityPolicy = QXmppTrustStorage::NoSecurityPolicy) override;
+ QFuture<SecurityPolicy> securityPolicy(const QString &encryption) override;
+
QFuture<void> addOwnKey(const QString &encryption, const QString &keyId) override;
QFuture<void> removeOwnKey(const QString &encryption) override;
QFuture<QString> ownKey(const QString &encryption) const override;