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 ORed 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
_method =
See method parameter of __init__.
_options =
int of ORed values from calls of set_options.
_certificate =
Set by use_certificate.
_privateKey =
Set by use_privatekey.
_verify =
Set by set_verify.
_verifyDepth =
_mode =
Set by set_mode.
_sessionID =
Set by set_session_id.
_extraCertChain =
Accumulated list of all extra certificates added by add_extra_chain_cert.
_cipherList =
Set by set_cipher_list.
_dhFilename =
Set by load_tmp_dh.
_defaultVerifyPathsSet =
_ecCurve =
Set by set_tmp_ecdh
def __init__(self, method):
Undocumented
def set_options(self, options):
Undocumented
def use_certificate(self, certificate):
Undocumented
def use_privatekey(self, privateKey):
Undocumented
def check_privatekey(self):
Undocumented
def set_mode(self, mode):

Set the mode. See SSL.Context.set_mode.

ParametersmodeSee SSL.Context.set_mode.
def set_verify(self, flags, callback):
Undocumented
def set_verify_depth(self, depth):
Undocumented
def set_session_id(self, sessionID):
Undocumented
def add_extra_chain_cert(self, cert):
Undocumented
def set_cipher_list(self, cipherList):
Undocumented
def load_tmp_dh(self, dhfilename):
Undocumented
def set_default_verify_paths(self):

Set the default paths for the platform.

def set_tmp_ecdh(self, curve):

Set an ECDH curve. Should only be called by OpenSSL 1.0.1 code.

ParameterscurveSee OpenSSL.SSL.Context.set_tmp_ecdh
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.