A context factory with a default method set to OpenSSL.SSL.TLSv1_METHOD.

Method __init__

Inherited from DefaultOpenSSLContextFactory:

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.
def __init__(self, *args, **kw):
ParametersprivateKeyFileNameName of a file containing a private key
certificateFileNameName of a file containing a certificate
sslmethodThe SSL method to use
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.