TLS: support multiple certificate files in server. Bug 2092
[exim.git] / src / src / dkim.h
CommitLineData
80a47a2c
TK
1/*************************************************
2* Exim - an Internet mail transport agent *
3*************************************************/
4
9242a7e8 5/* Copyright (c) University of Cambridge, 1995 - 2017 */
80a47a2c
TK
6/* See the file NOTICE for conditions of use and distribution. */
7
2592e6c0 8void dkim_exim_init(void);
acec9514 9gstring * dkim_exim_sign(int, off_t, uschar *, struct ob_dkim *, const uschar **);
e983e85a 10void dkim_exim_verify_init(BOOL);
80a47a2c
TK
11void dkim_exim_verify_feed(uschar *, int);
12void dkim_exim_verify_finish(void);
13void dkim_exim_acl_setup(uschar *);
14uschar *dkim_exim_expand_query(int);
80a47a2c
TK
15
16#define DKIM_ALGO 1
17#define DKIM_BODYLENGTH 2
18#define DKIM_CANON_BODY 3
19#define DKIM_CANON_HEADERS 4
20#define DKIM_COPIEDHEADERS 5
21#define DKIM_CREATED 6
22#define DKIM_EXPIRES 7
23#define DKIM_HEADERNAMES 8
24#define DKIM_IDENTITY 9
25#define DKIM_KEY_GRANULARITY 10
26#define DKIM_KEY_SRVTYPE 11
27#define DKIM_KEY_NOTES 12
28#define DKIM_KEY_TESTING 13
29#define DKIM_NOSUBDOMAINS 14
30#define DKIM_VERIFY_STATUS 15
31#define DKIM_VERIFY_REASON 16