class documentation

class CertificatesForAuthorityAndServerTests(SynchronousTestCase): (source)

View In Hierarchy

Tests for :py:func:`child._certificates_for_authority_and_server`

Method setUp Undocumented
Method test_ca_signed_x509 The returned X.509 certificate was signed by the returned certificate authority's certificate.
Method test_pkey_x509_paired The returned private key corresponds to the X.509 certificate's public key.
Method test_x509_matches_hostname The returned X.509 certificate is valid for the hostname.
Instance Variable ca_cert Undocumented
Instance Variable hostname Undocumented
Instance Variable server_private_key Undocumented
Instance Variable server_x509_cert Undocumented
def setUp(self): (source)

Undocumented

def test_ca_signed_x509(self): (source)

The returned X.509 certificate was signed by the returned certificate authority's certificate.

def test_pkey_x509_paired(self): (source)

The returned private key corresponds to the X.509 certificate's public key.

def test_x509_matches_hostname(self): (source)

The returned X.509 certificate is valid for the hostname.

ca_cert = (source)

Undocumented

hostname: str = (source)

Undocumented

server_private_key = (source)

Undocumented

server_x509_cert = (source)

Undocumented