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

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

A provider of IOpenSSLServerConnectionCreator can create OpenSSL.SSL.Connection objects for TLS servers.
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.CertificateOptions as your contextFactory. (For historical reasons, that class does not actually implement this interface; nevertheless it is usable in all Twisted APIs which require a provider of this interface.)
Method serverConnectionForTLS Create a connection for the given server protocol.
def serverConnectionForTLS(tlsProtocol): (source)
Create a connection for the given server protocol.
ParameterstlsProtocolthe protocol server 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 2015-01-30 14:14:53.