Name
ec_dkim_sign — Function to sign a mail message
Synopsis
#include "modules/validate/ec_dkim.h"
| int **ec_dkim_sign** (
| m, | |
| | ctx, | |
| | base_domain, | |
| | header_canon, | |
| | body_canon, | |
| | digest, | |
| | headerlist, | |
| | identity, | |
| | selector, | |
| | key_file, | |
| | key, | |
| | body_length_limit)
; | |
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">header_canon</var>
;
const char * <var class="pdparam">body_canon</var>
;
const char * <var class="pdparam">digest</var>
;
const char * <var class="pdparam">headerlist</var>
;
const char * <var class="pdparam">identity</var>
;
const char * <var class="pdparam">selector</var>
;
const char * <var class="pdparam">key_file</var>
;
const char * <var class="pdparam">key</var>
;
int <var class="pdparam">body_length_limit</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.
- 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.
- header_canon
-
-- to override default method for header canonicalization: relaxed or simple.
- body_canon
-
-- to override default method for body canonicalization: relaxed or simple.
- digest
-
-- to override the digest method.
- headerlist
-
-- to override the headers to sign.
- identity
-
-- to override the signing identity.
- selector
-
-- to override the selector value of dk module.
- key_file
-
-- to use the key from this file.
- key
-
-- to use the key stored in this variable.
- body_length_limit
-
-- to override body_length_limit setting. 0 -- false, 1 -- true, -1 -- do not override..
1 or 0. Not meaningful at this point.
**Configuration Change. ** This feature is available starting from Momentum 3.1.