interface documentation

class twisted.internet._sslverify.IOpenSSLTrustRoot(Interface): (source)

Known implementations: twisted.internet._sslverify.OpenSSLCertificateAuthorities, twisted.internet.ssl.OpenSSLDefaultPaths

View In Hierarchy

Trust settings for an OpenSSL context.

Note that this interface's methods are private, so things outside of Twisted shouldn't implement it.

Method _addCACertsToContext Add certificate-authority certificates to an SSL context whose connections should trust those authorities.
def _addCACertsToContext(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.