class documentation

class _ContextFactoryWithContext: (source)

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): (source)

Initialize a _ContextFactoryWithContext with a context.

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

Return the context created by _DeprecatedToCurrentPolicyForHTTPS._webContextFactory.

Returns
OpenSSL.SSL.ContextA context.

A Context.