aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/global.h
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2020-09-07 09:55:07 +0000
committerIngo Klöcker <[email protected]>2020-09-07 09:55:07 +0000
commit188cc9e9b553998d2a8ec52bd8282365e22bf400 (patch)
treec47ac66ef24dfdd647843e347f1e1f885a5cc614 /lang/cpp/src/global.h
parentcpp: Add missing keylist modes (diff)
downloadgpgme-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.h3
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 };