class documentation

class twisted.internet.ssl.DefaultOpenSSLContextFactory(ContextFactory): (source)

View In Hierarchy

DefaultOpenSSLContextFactory is a factory for server-side SSL context objects. These objects define certain parameters related to SSL handshakes and the subsequent connection.

Method __init__
Instance Variable privateKeyFileName Undocumented
Instance Variable certificateFileName Undocumented
Instance Variable sslmethod Undocumented
Method cacheContext Undocumented
Method __getstate__ Undocumented
Method __setstate__ Undocumented
Instance Variable __dict__ Undocumented
Method getContext Return an SSL context.
Instance Variable _contextFactory A callable which will be used to create new context objects. This is typically OpenSSL.SSL.Context.
Instance Variable _context Undocumented

Inherited from ContextFactory:

Class Variable isClient Undocumented
_contextFactory = (source)
A callable which will be used to create new context objects. This is typically OpenSSL.SSL.Context.
_context = (source)

Undocumented

def __init__(self, privateKeyFileName, certificateFileName, sslmethod=SSL.SSLv23_METHOD, _contextFactory=SSL.Context): (source)
ParametersprivateKeyFileNameName of a file containing a private key
certificateFileNameName of a file containing a certificate
sslmethodThe SSL method to use
_contextFactoryUndocumented
privateKeyFileName = (source)

Undocumented

certificateFileName = (source)

Undocumented

sslmethod = (source)

Undocumented

def cacheContext(self): (source)

Undocumented

def __getstate__(self): (source)

Undocumented

def __setstate__(self, state): (source)

Undocumented

__dict__ = (source)

Undocumented

def getContext(self): (source)

Return an SSL context.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.