2 * keyindex.h - Routines to list an OpenPGP key.
4 * Jonathan McDowell <noodles@earth.li>
6 * Copyright 2002 Project Purple
10 #define __KEYINDEX_H__
14 #include "keystructs.h"
17 * key_index - List a set of OpenPGP keys.
18 * @keys: The keys to display.
19 * @verbose: Should we list sigs as well?
20 * @fingerprint: List the fingerprint?
21 * @skshash: List the sks hash?
22 * @html: Should we tailor the output for HTML?
24 * This function takes a list of OpenPGP public keys and displays an index
25 * of them. Useful for debugging or the keyserver Index function.
27 int key_index(struct openpgp_publickey *keys, bool verbose,
28 bool fingerprint, bool skshash, bool html);
31 * mrkey_index - List a set of OpenPGP keys in the MRHKP format.
32 * @keys: The keys to display.
34 * This function takes a list of OpenPGP public keys and displays a
35 * machine readable list of them.
37 int mrkey_index(struct openpgp_publickey *keys);