t.i._.IOpenSSLTrustRoot(Interface) : interface documentation

Part of twisted.internet._sslverify View Source View In Hierarchy

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

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 at 2015-04-13 15:26:48.