t.i.i.IOpenSSLClientConnectionCreator(Interface) : interface documentation

Part of twisted.internet.interfaces View Source View In Hierarchy

A provider of IOpenSSLClientConnectionCreator can create OpenSSL.SSL.Connection objects for TLS clients.
See Alsotwisted.internet.ssl
NoteCreating OpenSSL connection objects is subtle, error-prone, and security-critical. Before implementing this interface yourself, consider using twisted.internet.ssl.optionsForClientTLS as your contextFactory.
Method clientConnectionForTLS Create a connection for the given client protocol.
def clientConnectionForTLS(tlsProtocol): (source)
Create a connection for the given client protocol.
ParameterstlsProtocolthe client protocol making the request. (type: twisted.protocols.tls.TLSMemoryBIOProtocol.)
Returnsan OpenSSL connection object configured appropriately for the given Twisted protocol. (type: OpenSSL.SSL.Connection)
API Documentation for Twisted, generated by pydoctor at 2014-05-12 18:27:00.