t.m.p.SSLContextFactory : class documentation

Part of twisted.mail.protocols View Source View In Hierarchy

An SSL context factory.
Instance Variable filename See __init__
Method __init__
Method getContext Create an SSL context.
filename =
See __init__
def __init__(self, filename): (source)
ParametersfilenameThe name of a file containing a certificate and private key. (type: bytes)
def getContext(self): (source)
Create an SSL context.
ReturnsAn SSL context configured with the certificate and private key from the file. (type: OpenSSL.SSL.Context)
API Documentation for Twisted, generated by pydoctor at 2015-01-30 14:14:53.