X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=keystructs.h;h=33c6226ed77cf925544c2af78ef763580a6a0b7b;hb=3561aed8483fe3076c7689f93fbc94ca63de77b3;hp=6c36bbec6e771ad04df2bd3ca73ee192fe2b7709;hpb=394938c479925750ffe56c28d281945ba4003a14;p=onak.git diff --git a/keystructs.h b/keystructs.h index 6c36bbe..33c6226 100644 --- a/keystructs.h +++ b/keystructs.h @@ -65,15 +65,17 @@ struct openpgp_signedpacket_list { /** * struct openpgp_publickey - An OpenPGP public key complete with sigs. * @publickey: The OpenPGP packet for the public key. - * @revocation: The OpenPGP packet for the revocation [optional] + * @revoked: True if the key is revoked. + * @sigs: Any signatures directly on the publickey packet. * @uids: The list of UIDs with signatures for this key. * @subkeys: The list of subkeys with signatures for this key. * @next: The next public key. */ struct openpgp_publickey { struct openpgp_packet *publickey; - struct openpgp_packet_list *revocations; - struct openpgp_packet_list *last_revocation; + bool revoked; + struct openpgp_packet_list *sigs; + struct openpgp_packet_list *last_sig; struct openpgp_signedpacket_list *uids; struct openpgp_signedpacket_list *last_uid; struct openpgp_signedpacket_list *subkeys;