twisted.internet.ssl.DefaultOpenSSLContextFactory(ContextFactory)
class documentationtwisted.internet.ssl
View 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__ | |
Method | cacheContext | Undocumented |
Method | __getstate__ | Undocumented |
Method | __setstate__ | Undocumented |
Method | getContext | Return an SSL context. |
Instance Variable | _contextFactory | A callable which will be used to create new context objects. This is
typically SSL.Context . |
SSL.Context
.
Parameters | privateKeyFileName | Name of a file containing a private key |
certificateFileName | Name of a file containing a certificate | |
sslmethod | The SSL method to use |