X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/8e58a1769ce5e492dd68904dfc81b6e077fc2a3a..9b511d8943fa34c9dd09999a4a72ae8405f34164:/keyindex.h?ds=inline diff --git a/keyindex.h b/keyindex.h index 5b567bc..c0b29ed 100644 --- a/keyindex.h +++ b/keyindex.h @@ -37,6 +37,14 @@ int key_index(struct openpgp_publickey *keys, bool verbose, struct ll *keysigs(struct ll *curll, struct openpgp_packet_list *sigs); +/** + * sig_keyid - Return the keyid for a given OpenPGP signature packet. + * @packet: The signature packet. + * + * Returns the keyid for the supplied signature packet. + */ +uint64_t sig_keyid(struct openpgp_packet *packet); + /** * keyuids - Takes a key and returns an array of its UIDs * @key: The key to get the uids of.