SYNOPSIS |
#include <dkim.h>
const char * dkim_getsigdomain(
DKIM *dkim
);
Retrieve from a DKIM handle the domain name associated with the signature
on a message.
|
DESCRIPTION |
Called When |
dkim_getsigdomain() can be called at any time after a handle
is initialized with a call to
dkim_verify(). |
|
---|
ARGUMENTS |
Argument | Description |
dkim |
Message-specific handle, returned by
dkim_verify.
|
|
RETURN VALUES |
Value | Description |
NULL |
No domain name could be determined for this signature.
|
otherwise |
A pointer to the domain name found in the signature.
|
|
NOTES |
- This function is a local addition to the formal API specification
and is experimental only. It may not appear in other implementations.
- For a multiply-signed message, the library selects the first signature
which appears to be syntactically valid and unexpired. In a future
release, this will change to be able to analyze multiple signatures
individually.
|