1 /* $Cambridge: exim/src/src/dkim.h,v 1.2 2009/06/10 07:34:04 tom Exp $ */
3 /*************************************************
4 * Exim - an Internet mail transport agent *
5 *************************************************/
7 /* Copyright (c) University of Cambridge 2009 */
8 /* See the file NOTICE for conditions of use and distribution. */
10 uschar *dkim_exim_sign(int,uschar *,uschar *,uschar *,uschar *,uschar *);
11 void dkim_exim_verify_init(void);
12 void dkim_exim_verify_feed(uschar *, int);
13 void dkim_exim_verify_finish(void);
14 void dkim_exim_acl_setup(uschar *);
15 uschar *dkim_exim_expand_query(int);
16 uschar *dkim_exim_expand_defaults(int);
19 #define DKIM_BODYLENGTH 2
20 #define DKIM_CANON_BODY 3
21 #define DKIM_CANON_HEADERS 4
22 #define DKIM_COPIEDHEADERS 5
23 #define DKIM_CREATED 6
24 #define DKIM_EXPIRES 7
25 #define DKIM_HEADERNAMES 8
26 #define DKIM_IDENTITY 9
27 #define DKIM_KEY_GRANULARITY 10
28 #define DKIM_KEY_SRVTYPE 11
29 #define DKIM_KEY_NOTES 12
30 #define DKIM_KEY_TESTING 13
31 #define DKIM_NOSUBDOMAINS 14
32 #define DKIM_VERIFY_STATUS 15
33 #define DKIM_VERIFY_REASON 16