diff options
author | Ingo Klöcker <[email protected]> | 2020-10-28 11:48:31 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2020-10-29 11:57:10 +0000 |
commit | 4166d263e421cb4f98c4ca6bef549613c35e149e (patch) | |
tree | ad74e51e1fd4a1a810a628c071757c4cf56c5316 /lang/cpp/src/context.h | |
parent | core: New function gpgme_op_revsig. (diff) | |
download | gpgme-4166d263e421cb4f98c4ca6bef549613c35e149e.tar.gz gpgme-4166d263e421cb4f98c4ca6bef549613c35e149e.zip |
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
Diffstat (limited to 'lang/cpp/src/context.h')
-rw-r--r-- | lang/cpp/src/context.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<Subkey> &subkeys = std::vector<Subkey>(), const SetExpireFlags flags = SetExpireDefault); + Error revokeSignature(const Key &key, const Key &signingKey, + const std::vector<UserID> &userIds = std::vector<UserID>()); + Error startRevokeSignature(const Key &key, const Key &signingKey, + const std::vector<UserID> &userIds = std::vector<UserID>()); + // using TofuInfo::Policy Error setTofuPolicy(const Key &k, unsigned int policy); Error setTofuPolicyStart(const Key &k, unsigned int policy); |