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  IOpenSSLClientConnectionCreatororIOpenSSLServerConnectionCreator,
depending on whether thisITLSTransportis a server or not.  If the appropriate interface is not provided by the 
value given forcontextFactory, it must be an old-styletwisted.internet.ssl.ContextFactoryor similar.) |