some doxygen stuff. might not be kept.
2 /** @brief File description for doxygen missing. FIXME */
4 // This file is under GNU General Public License 3.0
15 // blacklist_add() - add to blacklist
18 // session (in) session to use
19 // fpr (in) fingerprint of key to blacklist
22 // there is no point in blacklisting an own key; for any own
23 // identity, this will be ignored. The correct function to use
24 // for own keys in this event is "key_reset_trust".
25 // Also, this is only effective for OpenPGP-level trust. If
26 // this key is for a pEp user, the blacklist is ignored.
28 DYNAMIC_API PEP_STATUS blacklist_add(PEP_SESSION session, const char *fpr);
31 // blacklist_delete() - delete from blacklist
34 // session (in) session to use
35 // fpr (in) fingerprint of key to be removed from blacklist
37 DYNAMIC_API PEP_STATUS blacklist_delete(PEP_SESSION session, const char *fpr);
40 // blacklist_is_listed() - is_listed in blacklist
43 // session (in) session to use
44 // fpr (in) fingerprint of key to blacklist
45 // bool (out) flags if key is blacklisted
47 DYNAMIC_API PEP_STATUS blacklist_is_listed(
54 // blacklist_retrieve() - retrieve full blacklist of key fingerprints
57 // session (in) session to use
58 // blacklist (out) copy of blacklist
61 // the ownership of the copy of blacklist goes to the caller
63 DYNAMIC_API PEP_STATUS blacklist_retrieve(
65 stringlist_t **blacklist