Network.DomainAuth.DKIM
Contents
Description
A library for DKIM (http://www.ietf.org/rfc/rfc4071). Currently, only receiver side is implemented.
- runDKIM :: Resolver -> Mail -> IO DAResult
- runDKIM' :: Resolver -> Mail -> DKIM -> IO DAResult
- parseDKIM :: RawFieldValue -> Maybe DKIM
- data DKIM
- dkimDomain :: DKIM -> Domain
- dkimSelector :: DKIM -> String
- dkimFieldKey :: CanonFieldKey
Documentation
Authentication with DKIM
runDKIM' :: Resolver -> Mail -> DKIM -> IO DAResultSource
Verifying Mail
with DKIM. The value of DKIM-Signature:
should be parsed beforehand.
Parsing DKIM-Signature:
parseDKIM :: RawFieldValue -> Maybe DKIMSource
Parsing DKIM-Signature:.
dkimDomain :: DKIM -> DomainSource
Getting of the value of the "d" tag in DKIM-Signature:.
dkimSelector :: DKIM -> StringSource
Getting of the value of the "s" tag in DKIM-Signature:.
Field key for DKIM-Signature:
dkimFieldKey :: CanonFieldKeySource
Canonicalized key for DKIM-Signature:.