X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/656bb5c3981ae175698ff8782c7ec39e1f6451d1..fa2c30bab91ed66c52bc4c2fdd025602f3737d42:/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.