Home | Trees | Indices | Help |
---|
|
|
|||
|
|||
ARC | |||
AuthresNotFoundError Authres Package not installed, needed for ARC |
|||
DKIM | |||
DKIMException Base class for DKIM errors. |
|||
DNSError DNS error. |
|||
DomainSigner | |||
HashThrough | |||
InternalError Internal error in dkim module. |
|||
KeyFormatError Key format error while parsing an RSA public or private key. |
|||
MessageFormatError RFC822 message format error. |
|||
NaClNotFoundError Nacl package not installed, needed for ed25119 signatures |
|||
ParameterError Input parameter error. |
|||
UnknownKeyTypeError Key type (k tag) is not known (rsa/ed25519) |
|||
ValidationError Validation error. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
CV_Fail =
|
|||
CV_None =
|
|||
CV_Pass =
|
|||
FWS =
|
|||
RE_BTAG = re.compile(r'
|
|||
Relaxed =
|
|||
Simple =
|
|||
__package__ =
|
|
Sign an RFC822 message and return the ARC set header lines for the next instance
|
Verify the ARC chain on an RFC822 formatted message.
|
Sign an RFC822 message and return the DKIM-Signature header line.
|
Verify the first (topmost) DKIM signature on an RFC822 formatted message.
|
Fold a header line into multiple crlf-separated lines at column 72. >>> text(fold(b'foo')) 'foo' >>> text(fold(b'foo '+b'foo'*24).splitlines()[0]) 'foo ' >>> text(fold(b'foo'*25).splitlines()[-1]) ' foo' >>> len(fold(b'foo'*25).splitlines()[0]) 72 |
Parse a message in RFC822 format.
|
Select message header fields to be signed/verified. >>> h = [('from','biz'),('foo','bar'),('from','baz'),('subject','boring')] >>> i = ['from','subject','to','from'] >>> select_headers(h,i) [('from', 'baz'), ('subject', 'boring'), ('from', 'biz')] >>> h = [('From','biz'),('Foo','bar'),('Subject','Boring')] >>> i = ['from','subject','to','from'] >>> select_headers(h,i) [('From', 'biz'), ('Subject', 'Boring')] |
Sign an RFC822 message and return the DKIM-Signature header line.
|
Normalize bytes/str to str for python 2/3 compatible doctests. >>> text(b'foo') 'foo' >>> text(u'foo') 'foo' >>> text('foo') 'foo' |
Validate DKIM or ARC Signature fields. Basic checks for presence and correct formatting of mandatory fields. Raises a ValidationError if checks fail, otherwise returns None.
|
Verify the first (topmost) DKIM signature on an RFC822 formatted message.
|
|
RE_BTAG
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Dec 16 11:46:04 2019 | http://epydoc.sourceforge.net |