cscvs to tla changeset 12
[onak.git] / keyindex.h
index 5b567bcf966af79423450bb00fe45e9168e146e0..c0b29ed5becd268f2ce4137bfce0d92ba42c961e 100644 (file)
@@ -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.