class documentation

class twisted.internet._sslverify.OpenSSLCertificateAuthorities: (source)

Implements interfaces: twisted.internet._sslverify.IOpenSSLTrustRoot

View In Hierarchy

Trust an explicitly specified set of certificates, represented by a list of OpenSSL.crypto.X509 objects.

Method __init__
Instance Variable _caCerts Undocumented
Method _addCACertsToContext Add certificate-authority certificates to an SSL context whose connections should trust those authorities.
def __init__(self, caCerts): (source)
ParameterscaCertsThe certificate authorities to trust when using this object as a trustRoot for OpenSSLCertificateOptions. (type: list of OpenSSL.crypto.X509)
_caCerts = (source)

Undocumented

def _addCACertsToContext(self, context): (source)

Add certificate-authority certificates to an SSL context whose connections should trust those authorities.

ParameterscontextAn SSL context for a connection which should be verified by some certificate authority. (type: OpenSSL.SSL.Context)
ReturnsNone
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.