|
|
|
|
|
asn1_build(node)
Build an ASN.1 data structure based on pairs of (type, data). |
source code
|
|
|
|
asn1_length(n)
Return a string representing a field length in ASN.1 format. |
source code
|
|
|
|
|
|
|
dnstxt(name)
Return a TXT record associated with a DNS name. |
source code
|
|
|
|
fold(header)
Fold a header line into multiple crlf-separated lines at column 72. |
source code
|
|
|
|
|
|
|
|
|
|
sign(message,
selector,
domain,
privkey,
identity=None,
canonicalize=(<class dkim.Simple at 0x83fb8cc>, <class dkim.Simple at 0x83f...,
include_headers=None,
length=False,
debuglog=None)
Sign an RFC822 message and return the DKIM-Signature header line. |
source code
|
|
|
|
|
|
|
verify(message,
debuglog=None)
Verify a DKIM signature on an RFC822 formatted message. |
source code
|
|
|
|
ASN1_Object = [(48, [(48, [(6), (5)]), (3)])]
|
|
|
ASN1_RSAPrivateKey = [(48, [(2), (2), (2), (2), (2), (2), (2),...
|
|
|
ASN1_RSAPublicKey = [(48, [(2), (2)])]
|
|
|
BIT_STRING = 3
|
|
|
HASHID_SHA1 = '+\x0e\x03\x02\x1a'
|
|
|
HASHID_SHA256 = '`\x86H\x01e\x03\x04\x02\x01'
|
|
|
INTEGER = 2
|
|
|
NULL = 5
|
|
|
OBJECT_IDENTIFIER = 6
|
|
|
OCTET_STRING = 4
|
|
|
SEQUENCE = 48
|