Initial port to Sequoia.
1 // This file is under GNU General Public License 3.0
6 // These functions are the exposure of non-generic PGP-specific functionality (largely related to PGP
7 // keyrings) to adapters that need them without polluting the engine interface.
19 #include "dynamic_api.h"
20 #include "stringpair.h"
26 #include "pgp_netpgp.h"
29 #include "pgp_sequoia.h"
34 // OpenPGP_list_keyinfo() - get a key/UID list for pattern matches in keyring (NULL or ""
35 // to return entire keyring), filtering out revoked keys in the results
38 // session (in) session handle
39 // search_pattern (in) search pattern - either an fpr, or something within the UID, or NULL / "" for
41 // keyinfo_list (out) a key/value pair list for each key / UID combination
44 // keyinfo_list must be freed by the caller.
45 DYNAMIC_API PEP_STATUS OpenPGP_list_keyinfo (
46 PEP_SESSION session, const char* search_pattern, stringpair_list_t** keyinfo_list