Skip to main content

Name

ec_opendkim_verify — Function to validate a message's DKIM signature

Synopsis

#include "modules/validate/ec_opendkim.h"

| int **ec_opendkim_verify** ( | m, |   | |   | dkim, |   | |   | status, |   | |   | resume_func, |   | |   | resume_closure); |   |

ec_message * <var class="pdparam">m</var>; DKIM * <var class="pdparam">dkim</var>; int * <var class="pdparam">status</var>; OpenDKIMResumeFunc <var class="pdparam">resume_func</var>; void * <var class="pdparam">resume_closure</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Function to validate a message's DKIM signature.

This is designed to be an overlay on top of the OpenDKIM APIs.

Parameters

m

-- pointer to an ec_message to be validated

dkim

-- DKIM pointer

status

-- OpenDKIM status, only valid when returning VALIDATE_CONT

resume_func

-- Function to resume when we return VALIDATE_AGAIN

resume_closure

-- Closure for resume func

Return Values

VALIDATE_CONT on success, VALIDATE_AGAIN on need for re-entry

Was this page helpful?