class documentation

class _ContextFactoryWithContext:

Constructor: _ContextFactoryWithContext(context)

Implements interfaces: twisted.internet.interfaces.IOpenSSLContextFactory

View In Hierarchy

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.
def __init__(self, context):

Initialize a _ContextFactoryWithContext with a context.

Parameters
context:OpenSSL.SSL.ContextAn SSL context.
def getContext(self):

Return the context created by _DeprecatedToCurrentPolicyForHTTPS._webContextFactory.

Returns
OpenSSL.SSL.ContextA context.
_context: OpenSSL.SSL.Context =

A Context.