Part of twisted.internet.interfaces View Source View In Hierarchy
IOpenSSLClientConnectionCreator
can create OpenSSL.SSL.Connection objects for TLS clients.| See Also | twisted.internet.ssl | |
| Note | Creating 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. |
| Parameters | tlsProtocol | the client protocol making the request. (type: twisted.protocols.tls.TLSMemoryBIOProtocol.) |
| Returns | an OpenSSL connection object configured appropriately for the given Twisted
protocol. (type: OpenSSL.SSL.Connection) | |