diff options
author | Andre Heinecke <[email protected]> | 2018-05-25 09:34:33 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2018-05-25 09:56:32 +0000 |
commit | 546e3295eaade073c34364c4ea6ab007532824d8 (patch) | |
tree | f169bb42aa9300edb6775f6a02ec1e18988dd739 /lang/python/examples/howto/revoke-userid.py | |
parent | json: Deduplicate input handling code (diff) | |
download | gpgme-546e3295eaade073c34364c4ea6ab007532824d8.tar.gz gpgme-546e3295eaade073c34364c4ea6ab007532824d8.zip |
json: Implement keylist
* src/gpgme-json.c (xjson_AddStringToObject0)
(xjson_AddItemToObject): New helpers.
(sig_notation_to_json, key_sig_to_json, tofu_to_json)
(uid_to_json, subkey_to_json, key_to_json): New
GPGME to JSON functions.
(op_keylist): New.
(process_request): Add op_keylist.
--
The conversion from GPGME data structures to
JSON follow the same pattern for the keylist
functions using the xjson wrappers instead
of error checking every cJSON call.
For large keylists the keylist command also
needs a data / getmore handling somehow.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions