aboutsummaryrefslogtreecommitdiffstats
path: root/lang/cpp/src/key.h
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 /lang/cpp/src/key.h
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 'lang/cpp/src/key.h')
-rw-r--r--lang/cpp/src/key.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/cpp/src/key.h b/lang/cpp/src/key.h
index 8c11a9d4..829bd266 100644
--- a/lang/cpp/src/key.h
+++ b/lang/cpp/src/key.h
@@ -112,6 +112,7 @@ public:
bool canCertify() const;
bool canAuthenticate() const;
bool isQualified() const;
+ bool isDeVs() const;
bool hasSecret() const;
GPGMEPP_DEPRECATED bool isSecret() const
@@ -219,6 +220,7 @@ public:
bool canCertify() const;
bool canAuthenticate() const;
bool isQualified() const;
+ bool isDeVs() const;
bool isCardKey() const;
bool isSecret() const;