| SYNOPSIS |
#include <dkim.h>
DKIM_STAT dkim_sig_getsignalg(
DKIM_SIGINFO *sig,
dkim_alg_t *alg
);
Retrieve the signature algorithm used to sign a message after verification.
|
| DESCRIPTION |
| Called When |
dkim_sig_getsignalg() is called after a signature is processed
either explicitly by a call to
dkim_sig_process() or by
dkim_eom() to get the signing
algorithm that was used to sign a message. |
|
|---|
| ARGUMENTS |
| Argument | Description |
| sig |
Signature-specific handle.
|
| 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_sig_process() or
dkim_eom() processed the siganture.
|
| DKIM_STAT_OK |
Successful completion.
|
|
| NOTES |
|