SYNOPSIS |
#include <dkim.h>
dkim_policy_t dkim_policy(
DKIM *dkim,
bool *test
);
Compute and retrieve the signature header for a message.
|
DESCRIPTION |
Called When |
dkim_policy() is called after
dkim_eom() when dkim is a
verifying handle, i.e. one returned by an earlier call to
dkim_verify(). |
|
---|
ARGUMENTS |
Argument | Description |
dkim |
Message-specific handle, returned by
dkim_verify().
|
test |
If not NULL, this is a pointer to boolean that is set to be either
TRUE (if the policy indicates the domain is using DKIM in a test
mode), or FALSE otherwise.
|
|
NOTES |
- It is an error to call this function with a handle that was created
using dkim_sign().
|