class documentation
class DefaultOpenSSLContextFactory(ContextFactory): (source)
Known subclasses: twisted.test.test_ssl.ServerTLSContext
DefaultOpenSSLContextFactory
is a factory for server-side SSL context objects. These objects define certain parameters related to SSL handshakes and the subsequent connection.
Method | __getstate__ |
Undocumented |
Method | __init__ |
No summary |
Method | __setstate__ |
Undocumented |
Method | cache |
Undocumented |
Method | get |
Return an SSL context. |
Instance Variable | __dict__ |
Undocumented |
Instance Variable | certificate |
Undocumented |
Instance Variable | private |
Undocumented |
Instance Variable | sslmethod |
Undocumented |
Instance Variable | _context |
Undocumented |
Instance Variable | _context |
A callable which will be used to create new context objects. This is typically OpenSSL.SSL.Context . |
Inherited from ContextFactory
:
Class Variable | is |
Undocumented |
def __init__(self, privateKeyFileName, certificateFileName, sslmethod=SSL.TLS_METHOD, _contextFactory=SSL.Context):
(source)
¶
overridden in
twisted.test.test_ssl.ServerTLSContext
Parameters | |
private | Name of a file containing a private key |
certificate | Name of a file containing a certificate |
sslmethod | The SSL method to use |
_context | Undocumented |