aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme.h.in
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-03-20 18:56:10 +0000
committerWerner Koch <[email protected]>2017-03-20 19:05:16 +0000
commitea9686ec71a2dd2225ce2b6d6d4038821d36205f (patch)
tree3fecc122563a27bc34a14ed797b4084529d0aaf8 /src/gpgme.h.in
parenttests: Fix distcheck. (diff)
downloadgpgme-ea9686ec71a2dd2225ce2b6d6d4038821d36205f.tar.gz
gpgme-ea9686ec71a2dd2225ce2b6d6d4038821d36205f.zip
core,cpp: New key flag 'is_de_vs'.
* src/gpgme.h.in (_gpgme_subkey): New flag is_de_vs. * tests/run-keylist.c (main): Print that flag. * src/keylist.c (parse_pub_field18): New. (keylist_colon_handler): Parse compliance flags. * lang/cpp/src/key.cpp (Key::isDeVs): New. (Subkey::isDeVs): New. * lang/cpp/src/key.h (class Key): New method isDeVs. (class Subkey): New method isDeVs. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/gpgme.h.in')
-rw-r--r--src/gpgme.h.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gpgme.h.in b/src/gpgme.h.in
index 032a205f..b660cb51 100644
--- a/src/gpgme.h.in
+++ b/src/gpgme.h.in
@@ -538,8 +538,11 @@ struct _gpgme_subkey
/* True if the secret key is stored on a smart card. */
unsigned int is_cardkey : 1;
+ /* True if the key is compliant to the de-vs mode. */
+ unsigned int is_de_vs : 1;
+
/* Internal to GPGME, do not use. */
- unsigned int _unused : 21;
+ unsigned int _unused : 20;
/* Public key algorithm supported by this subkey. */
gpgme_pubkey_algo_t pubkey_algo;