module documentation

Tests for twisted SSL support.

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

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

def generateCertificateObjects(organization, organizationalUnit): (source)

Create a certificate for given organization and organizationalUnit.

Returns
a tuple of (key, request, certificate) objects.