2 * usign/signify API header
3 * Copyright (C) 2018 Daniel Golle <daniel@makrotopia.org>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3
7 * as published by the Free Software Foundation
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
25 int usign_v(const char *msgfile
, const char *pubkeyfile
,
26 const char *pubkeydir
, const char *sigfile
, bool quiet
);
33 int usign_s(const char *msgfile
, const char *seckeyfile
, const char *sigfile
, bool quiet
);
36 * Fingerprint {pubkey, seckey, sig}
40 int usign_f_pubkey(char fingerprint
[17], const char *pubkeyfile
, bool quiet
);
42 int usign_f_seckey(char fingerprint
[17], const char *seckeyfile
, bool quiet
);
44 int usign_f_sig(char fingerprint
[17], const char *sigfile
, bool quiet
);
47 * custom extension to check for revokers
49 int _usign_key_is_revoked(const char *fingerprint
, const char *pubkeydir
);