twisted.internet.ssl.DefaultOpenSSLContextFactory(ContextFactory) class documentationtwisted.internet.ssl
(View In Hierarchy)
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 | __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 OpenSSL.SSL.Context. | 
OpenSSL.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 |