X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/8e58a1769ce5e492dd68904dfc81b6e077fc2a3a..d2b297e2cf5769ecf4cf22a26f8c9775415c2999:/keyindex.h?ds=sidebyside 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.