Tests for twisted.protocols.tls.

Class HandshakeCallbackContextFactory HandshakeCallbackContextFactory is a factory for SSL contexts which allows applications to get notification when the SSL handshake completes.
Class AccumulatingProtocol A protocol which collects the bytes it receives and closes its connection after receiving a certain minimum of data.
Function buildTLSProtocol Create a protocol hooked up to a TLS transport hooked up to a StringTransport.
Class TLSMemoryBIOFactoryTests Ensure TLSMemoryBIOFactory logging acts correctly.
Function handshakingClientAndServer Construct a client and server TLSMemoryBIOProtocol connected by an IO pump.
Class DeterministicTLSMemoryBIOTests Test for the implementation of ISSLTransport which runs over another transport.
Class TLSMemoryBIOTests Tests for the implementation of ISSLTransport which runs over another ITransport.
Class TLSProducerTests The TLS transport must support the IConsumer interface.
Class NonStreamingProducerTests Non-streaming producers can be adapted into being streaming producers.
Class ClientNegotiationFactory A ClientFactory that has a set of acceptable protocols for NPN/ALPN negotiation.
Class ServerNegotiationFactory A ServerFactory that has a set of acceptable protocols for NPN/ALPN negotiation.
Class IProtocolNegotiationFactoryTests Tests for IProtocolNegotiationFactory inside TLSMemoryBIOFactory.
def buildTLSProtocol(server=False, transport=None, fakeConnection=None):

Create a protocol hooked up to a TLS transport hooked up to a StringTransport.

def handshakingClientAndServer(clientGreetingData=None, clientAbortAfterHandshake=False):

Construct a client and server TLSMemoryBIOProtocol connected by an IO pump.

ParametersgreetingDataThe data which should be written in connectionMade. (type: bytes)
Returns3-tuple of client, server, twisted.test.iosim.IOPump
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.