twisted.test.test_sslverify.FakeContext(object)
class documentationtwisted.test.test_sslverify
(View In Hierarchy)
Introspectable fake of an OpenSSL.SSL.Context
.
Saves call arguments for later introspection.
Necessary because Context
offers poor introspection. cf.
this pyOpenSSL bug.
Method | __init__ | Undocumented |
Method | set_options | Undocumented |
Method | use_certificate | Undocumented |
Method | use_privatekey | Undocumented |
Method | check_privatekey | Undocumented |
Method | set_mode | Set the mode. See SSL.Context.set_mode . |
Method | set_verify | Undocumented |
Method | set_verify_depth | Undocumented |
Method | set_session_id | Undocumented |
Method | add_extra_chain_cert | Undocumented |
Method | set_cipher_list | Undocumented |
Method | load_tmp_dh | Undocumented |
Method | set_default_verify_paths | Set the default paths for the platform. |
Method | set_tmp_ecdh | Set an ECDH curve. Should only be called by OpenSSL 1.0.1 code. |
Instance Variable | _method | See method parameter of __init__ . |
Instance Variable | _options | int
of OR ed values from calls of set_options . |
Instance Variable | _certificate | Set by use_certificate . |
Instance Variable | _privateKey | Set by use_privatekey . |
Instance Variable | _verify | Set by set_verify . |
Instance Variable | _verifyDepth | Set by set_verify_depth . |
Instance Variable | _mode | Set by set_mode . |
Instance Variable | _sessionID | Set by set_session_id . |
Instance Variable | _extraCertChain | Accumulated list
of all extra certificates added by add_extra_chain_cert . |
Instance Variable | _cipherList | Set by set_cipher_list . |
Instance Variable | _dhFilename | Set by load_tmp_dh . |
Instance Variable | _defaultVerifyPathsSet | Set by set_default_verify_paths |
Instance Variable | _ecCurve | Set by set_tmp_ecdh |