twisted.internet.interfaces.ITLSTransport.startTLS(contextFactory)
method documentationtwisted.internet.interfaces.ITLSTransport
View Source
Initiate TLS negotiation.
Parameters | contextFactory | An object which creates appropriately configured TLS connections.
For clients, use 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.) |