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):
ParameterscaCertsThe certificate authorities to trust when using this object as a trustRoot for OpenSSLCertificateOptions. (type: list of OpenSSL.crypto.X509)
def _addCACertsToContext(self, context):

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 2020-03-25 17:34:30.