| SYNOPSIS |
#include <dkim.h>
DKIM_STAT dkim_getsignalg(
DKIM *dkim,
dkim_alg_t *alg
);
Retrieve the signature algorithm used to sign a message after verification.
|
| DESCRIPTION |
| Called When |
dkim_getsignalg() is called after
dkim_eom() to get the signing
algorithm that was used to sign a message. The value returned
is only meaningful if dkim_eom() returned either
DKIM_STAT_OK or DKIM_STAT_BADSIG; the returned value
is otherwise undefined. |
|
|---|
| ARGUMENTS |
| Argument | Description |
| dkim |
Message-specific handle, returned by
dkim_verify.
|
| alg |
A pointer to a dkim_alg_t which will receive
the algorithm that was used to sign the message.
|
|
| RETURN VALUES |
| Value | Description |
| DKIM_STAT_INVALID |
The function was called before dkim_eom, or with
a handle that was not opened for verification.
|
| DKIM_STAT_OK |
Successful completion.
|
|
| NOTES |
- This function is a local addition to the formal API specification
and is experimental only. It may not appear in other implementations.
|