Home GnuPG
Diffusion GPGME b63d203d3ba4

core: Add key capability flags has_encrypt etc.

Description

core: Add key capability flags has_encrypt etc.

* src/gpgme.h.in (struct _gpgme_key): Add flags has_encrypt,
has_certify, has_sign, and has_authenticate.
* src/keylist.c (finish_key): Set these flags.
* tests/run-keylist.c (main): Print them.

Details