X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/8e58a1769ce5e492dd68904dfc81b6e077fc2a3a..870ceebb3ffd90a47102ff04c8f7779177573216:/keyindex.h 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.