Tests for twisted SSL support.

Class UnintelligentProtocol
Class LineCollector
Class SingleLineServerProtocol A protocol that sends a single line of data at connectionMade.
Class RecordingClientProtocol
Class ImmediatelyDisconnectingProtocol A protocol that disconnect immediately on connection. It fires the connectionDisconnected deferred of its factory on connetion lost.
Function generateCertificateObjects Create a certificate for given organization and organizationalUnit.
Function generateCertificateFiles Create certificate files key, req and cert prefixed by basename for given organization and organizationalUnit.
Class ContextGeneratingMixin Offer methods to create ssl.DefaultOpenSSLContextFactory for both client and server.
Class ServerTLSContext A context factory with a default method set to OpenSSL.SSL.TLSv1_METHOD.
Class StolenTCPTests For SSL transports, test many of the same things which are tested for TCP transports.
Class TLSTests Tests for startTLS support.
Class SpammyTLSTests Test TLS features with bytes sitting in the out buffer.
Class BufferingTests Undocumented
Class ConnectionLostTests SSL connection closing tests.
Class FakeContext OpenSSL.SSL.Context double which can more easily be inspected.
Class DefaultOpenSSLContextFactoryTests Tests for ssl.DefaultOpenSSLContextFactory.
Class ClientContextFactoryTests Tests for ssl.ClientContextFactory.
Function _noSSL Undocumented
def _noSSL():
Undocumented
def generateCertificateObjects(organization, organizationalUnit):

Create a certificate for given organization and organizationalUnit.

Returnsa tuple of (key, request, certificate) objects.
def generateCertificateFiles(basename, organization, organizationalUnit):

Create certificate files key, req and cert prefixed by basename for given organization and organizationalUnit.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.