diff options
author | Werner Koch <[email protected]> | 2017-03-28 09:40:44 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-03-28 09:41:30 +0000 |
commit | 813ae5fa2d712aa9679b791c67c9c1c43d36ffe4 (patch) | |
tree | 21356c212fafd181ec0a270dc012100e80a07541 /doc | |
parent | qt: Disable testEncryptDecryptNowrap (diff) | |
download | gpgme-813ae5fa2d712aa9679b791c67c9c1c43d36ffe4.tar.gz gpgme-813ae5fa2d712aa9679b791c67c9c1c43d36ffe4.zip |
core: Prepare for new key listing data send by gpg.
* src/gpgme.h.in (gpgme_user_id_t): New fields 'origin' and
'last_update'.
(gpgme_key_t): New fields 'origin' and 'last_update'.
* src/conversion.c (_gpgme_parse_timestamp_ul): New.
* src/keylist.c (keylist_colon_handler): Parse fields 19 and 20.
* tests/run-keylist.c (main): Print new fields.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gpgme.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi index d5969b71..62004aed 100644 --- a/doc/gpgme.texi +++ b/doc/gpgme.texi @@ -3078,6 +3078,9 @@ be true even if the corresponding subkey flag may be false (offline/stub keys). This is only set if a listing of secret keys has been requested or if @code{GPGME_KEYLIST_MODE_WITH_SECRET} is active. +@item unsigned int origin : 5 +Reserved for the origin of this key. + @item gpgme_protocol_t protocol This is the protocol supported by this key. @@ -3111,6 +3114,9 @@ this is a copy of the fingerprint of the first subkey. For an incomplete key (for example from a verification result) a subkey may be missing but this field may be set nevertheless. +@item unsigned long last_update +Reserved for the time of the last update of this key. + @end table @end deftp @@ -3255,6 +3261,13 @@ this user id. @item gpgme_key_sig_t signatures This is a linked list with the signatures on this user ID. + +@item unsigned int origin : 5 +Reserved for the origin of this user ID. + +@item unsigned long last_update +Reserved for the time of the last update of this user ID. + @end table @end deftp |