diff options
author | Werner Koch <[email protected]> | 2023-03-21 07:36:33 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2023-03-21 07:37:47 +0000 |
commit | 6d21256c9220df05bf92a695a787dde13fe44ca7 (patch) | |
tree | 570e7fb1f55c1308012f52d2a3f34246d0e2eda6 /lang/cpp/src/decryptionresult.cpp | |
parent | Post release updates (diff) | |
download | gpgme-6d21256c9220df05bf92a695a787dde13fe44ca7.tar.gz gpgme-6d21256c9220df05bf92a695a787dde13fe44ca7.zip |
core,cpp: Add new key flags to gpgme_subkey_t
* src/gpgme.h.in (struct _gpgme_subkey): Add bit flags can_renc,
can_timestamp, adn is_group_owned. Reduce size of _unused.
* src/keylist.c (set_subkey_capability): Set them.
* tests/run-keylist.c (main): Print them.
* lang/cpp/src/key.h (Subkey::canRenc): New.
(Subkey::canTimestamp): New.
(Subkey::isGroupOwned): New.
* lang/cpp/src/key.cpp: Implement new methods.
(Subkey::isQualified): Print them.
(std::ostream &operator<<): Print them.
--
GnuPG-bug-id: 6395
Diffstat (limited to 'lang/cpp/src/decryptionresult.cpp')
0 files changed, 0 insertions, 0 deletions