class twisted.internet._sslverify.OpenSSLCertificateAuthorities: (source)
Implements interfaces: twisted.internet._sslverify.IOpenSSLTrustRoot
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. |
Parameters | caCerts | The certificate authorities to trust when using this object as a trustRoot for OpenSSLCertificateOptions . (type: list of OpenSSL.crypto.X509 ) |
Add certificate-authority certificates to an SSL context whose connections should trust those authorities.
Parameters | context | An SSL context for a connection which should be verified by some certificate authority. (type: OpenSSL.SSL.Context ) |
Returns | None |