twisted.mail.protocols.SSLContextFactory class documentationtwisted.mail.protocols
View Source
(View In Hierarchy)
An SSL context factory.
| Instance Variable | filename | See __init__ |
| Method | __init__ | |
| Method | getContext | Create an SSL context. |
| Parameters | filename | The name of a file containing a certificate and private key. (type: bytes) |
Create an SSL context.
| Returns | An SSL context configured with the certificate and private key from the
file. (type: OpenSSL.SSL.Context) | |