Skip to main content

Name

ec_dk_sign — Function to sign a mail message

Synopsis

#include "modules/validate/ec_dk.h"

| int **ec_dk_sign** ( | m, |   | |   | ctx, |   | |   | base_domain, |   | |   | selector, |   | |   | key_file, |   | |   | key); |   |

ec_message * <var class="pdparam">m</var>; validate_context * <var class="pdparam">ctx</var>; const char * <var class="pdparam">base_domain</var>; const char * <var class="pdparam">selector</var>; const char * <var class="pdparam">key_file</var>; const char * <var class="pdparam">key</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 sign a mail message.

If not null, base_domain, selector, key_file and key are used to override the values of dk module.

Parameters

m

-- pointer to the email message to be signed.

ctx

-- pointer to validation context.

base_domain

-- to override the base domain value of dk module.

selector

-- to override the selector value of dk module.

key_file

-- to use the key from this file.

key

-- to specify the key.

Return Values

1 or 0. Not meaningful at this point.

**Configuration Change. ** This feature is available starting from Momentum 3.1.

Was this page helpful?