Home | Trees | Indices | Help |
---|
|
object --+ | DomainSigner
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
FROZEN =
|
|||
SHOULD =
|
|||
SHOULD_NOT =
|
|||
RFC5322_SINGLETON =
|
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Add headers not in should_not_sign to frozen_sign.
Since: 0.5 >>> dkim = DKIM() >>> dkim.add_frozen(DKIM.RFC5322_SINGLETON) >>> [text(x) for x in sorted(dkim.frozen_sign)] ['cc', 'date', 'from', 'in-reply-to', 'message-id', 'references', 'reply-to', 'sender', 'to'] >>> dkim2 = DKIM() >>> dkim2.add_frozen((b'date',b'subject')) >>> [text(x) for x in sorted(dkim2.frozen_sign)] ['date', 'from', 'subject'] |
Add headers not in should_not_sign to frozen_sign.
Since: 0.9 >>> dkim = DKIM() >>> dkim.add_should_not(DKIM.RFC5322_SINGLETON) >>> [text(x) for x in sorted(dkim.should_not_sign)] ['bcc', 'cc', 'comments', 'date', 'dkim-signature', 'in-reply-to', 'keywords', 'message-id', 'received', 'references', 'reply-to', 'resent-bcc', 'return-path', 'sender', 'to'] |
Return the default list of headers to sign: those in should_sign or frozen_sign, with those in frozen_sign signed an extra time to prevent additions. Since: 0.5 |
Return header list of all existing headers not in should_not_sign. Since: 0.5 |
Non-async sensitive verify_sig elements. Separated to avoid async code duplication. |
|
SHOULD
|
SHOULD_NOT
|
RFC5322_SINGLETON
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Dec 16 12:46:42 2019 | http://epydoc.sourceforge.net |