From 188cc9e9b553998d2a8ec52bd8282365e22bf400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ingo=20Kl=C3=B6cker?= Date: Mon, 7 Sep 2020 11:55:07 +0200 Subject: 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 --- lang/cpp/src/global.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lang/cpp/src/global.h') 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 }; -- cgit v1.2.3