diff options
author | Ingo Klöcker <[email protected]> | 2022-03-29 13:19:27 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2022-03-30 10:05:26 +0000 |
commit | d96e8a7a6bfcaad4587dd2bb648aa764b0d4e1ba (patch) | |
tree | 3dd8c944db169242342c3c1f600f38601021ce1e /lang/cpp/src/global.h | |
parent | doc: Update NEWS (diff) | |
download | gpgme-d96e8a7a6bfcaad4587dd2bb648aa764b0d4e1ba.tar.gz gpgme-d96e8a7a6bfcaad4587dd2bb648aa764b0d4e1ba.zip |
cpp: Add interactor to revoke a key
* lang/cpp/src/global.h (enum class RevocationReason): New.
* lang/cpp/src/gpgrevokekeyeditinteractor.cpp,
lang/cpp/src/gpgrevokekeyeditinteractor.h: New.
* lang/cpp/src/Makefile.am: Add new files.
--
GnuPG-bug-id: 5904
Diffstat (limited to 'lang/cpp/src/global.h')
-rw-r--r-- | lang/cpp/src/global.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lang/cpp/src/global.h b/lang/cpp/src/global.h index a25b46ce..9aafea87 100644 --- a/lang/cpp/src/global.h +++ b/lang/cpp/src/global.h @@ -72,6 +72,13 @@ enum KeyListMode { enum SignatureMode { NormalSignatureMode, Detached, Clearsigned }; +enum class RevocationReason { + Unspecified = 0, + Compromised = 1, + Superseded = 2, + NoLongerUsed = 3 +}; + GPGMEPP_EXPORT std::ostream &operator<<(std::ostream &os, Protocol proto); GPGMEPP_EXPORT std::ostream &operator<<(std::ostream &os, Engine eng); GPGMEPP_EXPORT std::ostream &operator<<(std::ostream &os, KeyListMode mode); |