diff options
author | Ingo Klöcker <[email protected]> | 2020-11-03 07:59:54 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2020-11-03 07:59:54 +0000 |
commit | 6a6d2a27648490f08aaf0759a533aef08b32070d (patch) | |
tree | e283ae9e10c81472081cc6c9d94d5674dbb0a451 /lang/qt/src/debug.cpp | |
parent | qt: Add support for revoke signature quick command (diff) | |
download | gpgme-6a6d2a27648490f08aaf0759a533aef08b32070d.tar.gz gpgme-6a6d2a27648490f08aaf0759a533aef08b32070d.zip |
cpp: Make signatures belonging to the same user ID sortable
lang/cpp/src/key.h, lang/cpp/src/key.cpp (UserID::Signature::operator<):
New.
lang/cpp/src/key.cpp (signature_index): New.
--
operator< defines a canonical sort order for signatures belonging to
the same user ID. It is based on the sort order defined by
cmp_signodes() in g10/keylist.c of gnupg. In particular, the ordering
of signatures made with the same key by creation time allows to see
easily whether the most recent signature is a certification or a
revocation.
GnuPG-bug-id: 5094
recent
Diffstat (limited to 'lang/qt/src/debug.cpp')
0 files changed, 0 insertions, 0 deletions