diff options
author | Werner Koch <[email protected]> | 2017-03-20 18:56:10 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-03-20 19:05:16 +0000 |
commit | ea9686ec71a2dd2225ce2b6d6d4038821d36205f (patch) | |
tree | 3fecc122563a27bc34a14ed797b4084529d0aaf8 /doc | |
parent | tests: Fix distcheck. (diff) | |
download | gpgme-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 '')
-rw-r--r-- | doc/gpgme.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi index d32a1242..337053fb 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -3156,6 +3156,12 @@ This is true if the subkey can be used for authentication. This is true if the subkey can be used for qualified signatures according to local government regulations. +@item unsigned int is_de_vs : 1 +This is true if the subkey complies with the rules for classified +information in Germany at the restricted level (VS-NfD). This are +currently RSA keys of at least 2048 bits or ECDH/ECDSA keys using a +Brainpool curve. + @item unsigned int secret : 1 This is true if the subkey is a secret key. Note that it will be false if the key is actually a stub key; i.e. a secret key operation |