Initiate TLS negotiation.

ParameterscontextFactoryAn object which creates appropriately configured TLS connections.

For clients, use twisted.internet.ssl.optionsForClientTLS; for servers, use twisted.internet.ssl.CertificateOptions.

(type: IOpenSSLClientConnectionCreator or IOpenSSLServerConnectionCreator, depending on whether this ITLSTransport is a server or not. If the appropriate interface is not provided by the value given for contextFactory, it must be an old-style twisted.internet.ssl.ContextFactory or similar.)
API Documentation for Twisted, generated by pydoctor at 2016-07-06 22:44:36.