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 . |
Create a protocol hooked up to a TLS transport hooked up to a StringTransport.
Construct a client and server TLSMemoryBIOProtocol
connected by an IO pump.
Parameters | greetingData | The data which should be written in connectionMade . (type: bytes ) |
Returns | 3-tuple of client, server, twisted.test.iosim.IOPump |