diff options
| author | Melvin Keskin <melvo@olomono.de> | 2021-09-17 01:35:59 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2021-09-25 15:50:45 +0200 |
| commit | d071f033c8298fb159eb8f2fb24462e4d0371dc4 (patch) | |
| tree | 2218e7f22773447a5605325820e631bbff5c4364 /src/client/QXmppTrustMemoryStorage.h | |
| parent | ceff219b2b7fec21a5feac0b9606a2ebad8c4822 (diff) | |
| download | qxmpp-d071f033c8298fb159eb8f2fb24462e4d0371dc4.tar.gz | |
TrustMemoryStorage: Add security policies
Diffstat (limited to 'src/client/QXmppTrustMemoryStorage.h')
| -rw-r--r-- | src/client/QXmppTrustMemoryStorage.h | 3 |
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; |
