class documentation
class FakeContext: (source)
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 | add |
Undocumented |
Method | check |
Undocumented |
Method | get |
Retrieve the session cache mode from the context, as per SSL.Context.get_session_cache_mode . |
Method | load |
Undocumented |
Method | set |
Undocumented |
Method | set |
Set the default paths for the platform. |
Method | set |
Set the mode. See SSL.Context.set_mode . |
Method | set |
Undocumented |
Method | set |
Set the session cache mode on the context, as per SSL.Context.set_session_cache_mode . |
Method | set |
Undocumented |
Method | set |
Set an ECDH curve. Should only be called by OpenSSL 1.0.1 code. |
Method | set |
Undocumented |
Method | set |
Undocumented |
Method | use |
Undocumented |
Method | use |
Undocumented |
Instance Variable | _certificate |
Set by use_certificate . |
Instance Variable | _cipher |
Set by set_cipher_list . |
Instance Variable | _default |
Set by set_default_verify_paths |
Instance Variable | _dh |
Set by load_tmp_dh . |
Instance Variable | _ec |
Set by set_tmp_ecdh |
Instance Variable | _extra |
Accumulated list of all extra certificates added by add_extra_chain_cert . |
Instance Variable | _method |
See method parameter of __init__ . |
Instance Variable | _mode |
Set by set_mode . |
Instance Variable | _options |
int of ORed values from calls of set_options . |
Instance Variable | _private |
Set by use_privatekey . |
Instance Variable | _session |
Undocumented |
Instance Variable | _session |
Set by set_session_id . |
Instance Variable | _session |
Undocumented |
Instance Variable | _verify |
Set by set_verify . |
Instance Variable | _verify |
Set by set_verify_depth . |
Set an ECDH curve. Should only be called by OpenSSL 1.0.1 code.
Parameters | |
curve | See OpenSSL.SSL.Context.set_tmp_ecdh |