1 /*************************************************
2 * Exim - an Internet mail transport agent *
3 *************************************************/
5 /* Copyright (c) University of Cambridge, 1995 - 2018 */
6 /* See the file NOTICE for conditions of use and distribution. */
8 void dkim_exim_init(void);
9 gstring * dkim_exim_sign(int, off_t, uschar *, struct ob_dkim *, const uschar **);
10 void dkim_exim_verify_init(BOOL);
11 void dkim_exim_verify_feed(uschar *, int);
12 void dkim_exim_verify_finish(void);
13 void dkim_exim_verify_log_all(void);
14 int dkim_exim_acl_run(uschar *, gstring **, uschar **, uschar **);
15 uschar *dkim_exim_expand_query(int);
18 #define DKIM_BODYLENGTH 2
19 #define DKIM_CANON_BODY 3
20 #define DKIM_CANON_HEADERS 4
21 #define DKIM_COPIEDHEADERS 5
22 #define DKIM_CREATED 6
23 #define DKIM_EXPIRES 7
24 #define DKIM_HEADERNAMES 8
25 #define DKIM_IDENTITY 9
26 #define DKIM_KEY_GRANULARITY 10
27 #define DKIM_KEY_SRVTYPE 11
28 #define DKIM_KEY_NOTES 12
29 #define DKIM_KEY_TESTING 13
30 #define DKIM_NOSUBDOMAINS 14
31 #define DKIM_VERIFY_STATUS 15
32 #define DKIM_VERIFY_REASON 16