Implements interfaces: twisted.internet.interfaces.IOpenSSLContextFactory

A _ContextFactoryWithContext is like a twisted.internet.ssl.ContextFactory with a pre-created context.

Method __init__ Initialize a _ContextFactoryWithContext with a context.
Method getContext Return the context created by _DeprecatedToCurrentPolicyForHTTPS._webContextFactory.
Instance Variable _context A Context. (type: OpenSSL.SSL.Context)
_context =
A Context. (type: OpenSSL.SSL.Context)
def __init__(self, context):

Initialize a _ContextFactoryWithContext with a context.

ParameterscontextAn SSL context. (type: OpenSSL.SSL.Context)
def getContext(self):

Return the context created by _DeprecatedToCurrentPolicyForHTTPS._webContextFactory.

ReturnsA context. (type: OpenSSL.SSL.Context)
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.