From 4166d263e421cb4f98c4ca6bef549613c35e149e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Wed, 28 Oct 2020 12:48:31 +0100 Subject: cpp: Add support for gpgme_op_revsig * lang/cpp/src/context.cpp, lang/cpp/src/context.h (Context::revokeSignature, Context::startRevokeSignature): New. * lang/cpp/src/context.cpp (getLFSeparatedListOfStrings, getLFSeparatedListOfUserIds): New. (getLFSeparatedListOfFingerprintsFromSubkeys): Extracted second part of function to getLFSeparatedListOfStrings. -- GnuPG-bug-id: 5094 --- lang/cpp/src/context.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lang/cpp/src/context.h') diff --git a/lang/cpp/src/context.h b/lang/cpp/src/context.h index 4021aa97..bcb2017a 100644 --- a/lang/cpp/src/context.h +++ b/lang/cpp/src/context.h @@ -285,6 +285,11 @@ public: const std::vector &subkeys = std::vector(), const SetExpireFlags flags = SetExpireDefault); + Error revokeSignature(const Key &key, const Key &signingKey, + const std::vector &userIds = std::vector()); + Error startRevokeSignature(const Key &key, const Key &signingKey, + const std::vector &userIds = std::vector()); + // using TofuInfo::Policy Error setTofuPolicy(const Key &k, unsigned int policy); Error setTofuPolicyStart(const Key &k, unsigned int policy); -- cgit v1.2.3