|
arc_sign(message,
selector,
domain,
privkey,
srv_id,
signature_algorithm=' rsa-sha256 ' ,
include_headers=None,
timestamp=None,
logger=None,
standardize=False,
linesep=' \r\n ' )
Sign an RFC822 message and return the ARC set header lines for the
next instance |
source code
|
|
|
arc_verify(message,
logger=None,
dnsfunc=<function get_txt at 0x215b050>,
minkey=1024,
timeout=5)
Verify the ARC chain on an RFC822 formatted message. |
source code
|
|
|
|
|
dkim_sign(message,
selector,
domain,
privkey,
identity=None,
canonicalize=( ' relaxed ' , ' simple ' ) ,
signature_algorithm=' rsa-sha256 ' ,
include_headers=None,
length=False,
logger=None,
linesep=' \r\n ' ,
tlsrpt=False)
Sign an RFC822 message and return the DKIM-Signature header line. |
source code
|
|
|
dkim_verify(message,
logger=None,
dnsfunc=<function get_txt at 0x215b050>,
minkey=1024,
timeout=5,
tlsrpt=False)
Verify the first (topmost) DKIM signature on an RFC822 formatted
message. |
source code
|
|
|
|
|
fold(header,
namelen=0,
linesep=' \r\n ' )
Fold a header line into multiple crlf-separated lines of text at
column |
source code
|
|
|
hash_headers(hasher,
canonicalize_headers,
headers,
include_headers,
sigheader,
sig)
Update hash for signed message header fields. |
source code
|
|
|
hash_headers_ed25519(pk,
canonicalize_headers,
headers,
include_headers,
sigheader,
sig)
Update hash for signed message header fields. |
source code
|
|
|
load_pk_from_dns(name,
dnsfunc=<function get_txt at 0x215b050>,
timeout=5) |
source code
|
|
|
|
|
|
|
sign(message,
selector,
domain,
privkey,
identity=None,
canonicalize=( ' relaxed ' , ' simple ' ) ,
signature_algorithm=' rsa-sha256 ' ,
include_headers=None,
length=False,
logger=None,
linesep=' \r\n ' ,
tlsrpt=False)
Sign an RFC822 message and return the DKIM-Signature header line. |
source code
|
|
|
text(s)
Normalize bytes/str to str for python 2/3 compatible doctests. |
source code
|
|
|
|
|
verify(message,
logger=None,
dnsfunc=<function get_txt at 0x215b050>,
minkey=1024,
timeout=5,
tlsrpt=False)
Verify the first (topmost) DKIM signature on an RFC822 formatted
message. |
source code
|
|