diff options
author | Ingo Klöcker <[email protected]> | 2020-09-07 09:55:07 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2020-09-07 09:55:07 +0000 |
commit | 188cc9e9b553998d2a8ec52bd8282365e22bf400 (patch) | |
tree | c47ac66ef24dfdd647843e347f1e1f885a5cc614 /lang/cpp/src/global.h | |
parent | cpp: Add missing keylist modes (diff) | |
download | gpgme-188cc9e9b553998d2a8ec52bd8282365e22bf400.tar.gz gpgme-188cc9e9b553998d2a8ec52bd8282365e22bf400.zip |
cpp: Add keylist mode WithSecret
* lang/cpp/src/global.h (WithSecret): New.
* lang/cpp/src/context.cpp (operator<<): Handle WithSecret.
* lang/cpp/src/util.h (add_to_gpgme_keylist_mode_t,
convert_from_gpgme_keylist_mode_t): Ditto.
--
GnuPG-bug-id: 4794
Diffstat (limited to 'lang/cpp/src/global.h')
-rw-r--r-- | lang/cpp/src/global.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/cpp/src/global.h b/lang/cpp/src/global.h index 7a88dc32..7d9f9d66 100644 --- a/lang/cpp/src/global.h +++ b/lang/cpp/src/global.h @@ -66,7 +66,8 @@ enum KeyListMode { Validate = 0x10, Ephemeral = 0x20, WithTofu = 0x40, - WithKeygrip = 0x80 + WithKeygrip = 0x80, + WithSecret = 0x100 }; enum SignatureMode { NormalSignatureMode, Detached, Clearsigned }; |