Implements interfaces: twisted.internet._sslverify.IOpenSSLTrustRoot

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

Method __init__
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)
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 at 2017-06-11 10:59:01.