SYNOPSIS |
#include <dkim.h>
DKIM_STAT dkim_header(
DKIM *dkim,
char *header,
size_t len)
);
Handle a message header field.
|
DESCRIPTION |
|
---|
ARGUMENTS |
Argument | Description |
dkim |
Per-message DKIM handle.
|
header |
The header field being input, including its name, value and
separating colon (":") character.
|
len |
Number of bytes to read from header.
|
|
NOTES |
- The value of header should not contain a trailing CRLF as this
will be added by the canonicalization code. However, a CRLF may appear
elsewhere in the value if, for example, the header field is meant to be
wrapped.
- A header field whose name includes a semi-colon cannot be used as it
will produce a syntactically invalid signature. Such header fields cause
this function to return DKIM_STAT_SYNTAX.
|