Skip to main content


Namespace: global/dkim

Generate and verify DKIM signatures. Implementation of RFC 6376. (

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>>) -> ()