X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=keyid.h;fp=keyid.h;h=d25447c6971c85f0d30508862c211d6900c64dff;hb=d5ee45b742e49fa30cc8d0a5a69ee47c8c5b1eb5;hp=1959a0d2848067ca055c494eb332ff060a14c13a;hpb=319c08fc2d09d48f71efbe435a878ff9160bdbb2;p=onak.git diff --git a/keyid.h b/keyid.h index 1959a0d..d25447c 100644 --- a/keyid.h +++ b/keyid.h @@ -16,10 +16,18 @@ /** * get_keyid - Given a public key returns the keyid. - * @publickey: The key to calculate the fingerprint for. + * @publickey: The key to calculate the id for. * * This function returns the key id for a given public key. */ uint64_t get_keyid(struct openpgp_publickey *publickey); +/** + * get_packetid - Given a PGP packet returns the keyid. + * @packet: The packet to calculate the id for. + * + * This function returns the key id for a given PGP packet. + */ +uint64_t get_packetid(struct openpgp_packet *packet); + #endif /* __KEYID_H__ */