Skip to main content

dkim

Namespace: global/dkim

Generate and verify DKIM signatures. Implementation of RFC 6376. (https://www.rfc-editor.org/rfc/rfc6376.html)

fn create_sign

fn create_sign(mail: RwLock<Mail>>, params: ?) -> String
Produce a DKIM signature with the given parameters.

fn add_signature

fn add_signature(mail: RwLock<Mail>>, params: ?) -> ()

fn to_debug

fn to_debug(v: Shared<Vec<DkimVerificationResult>>) -> String

fn verify

fn verify(ctx: RwLock<Mail>>, params: ?) -> Shared<Vec<DkimVerificationResult>>

fn store

fn store(ctx: State<StatefulCtxReceived>, dkim_result: Shared<Vec<DkimVerificationResult>>) -> ()