class documentation

class SecureTransportContext(object): (source)

View In Hierarchy

I am a wrapper class for the SecureTransport library, to translate the interface of the standard library ``SSLContext`` object to calls into SecureTransport.

Method __init__ Undocumented
Method check_hostname.setter SecureTransport cannot have its hostname checking disabled. For more, see the comment on getpeercert() in this file.
Method load_cert_chain Undocumented
Method load_default_certs Undocumented
Method load_verify_locations Undocumented
Method options.setter Undocumented
Method set_alpn_protocols Sets the ALPN protocols that will later be set on the context.
Method set_ciphers Undocumented
Method set_default_verify_paths Undocumented
Method verify_mode.setter Undocumented
Method wrap_socket Undocumented
Property check_hostname SecureTransport cannot have its hostname checking disabled. For more, see the comment on getpeercert() in this file.
Property options Undocumented
Property verify_mode Undocumented
Instance Variable _alpn_protocols Undocumented
Instance Variable _client_cert Undocumented
Instance Variable _client_cert_passphrase Undocumented
Instance Variable _client_key Undocumented
Instance Variable _client_key_passphrase Undocumented
Instance Variable _max_version Undocumented
Instance Variable _min_version Undocumented
Instance Variable _options Undocumented
Instance Variable _trust_bundle Undocumented
Instance Variable _verify Undocumented
def __init__(self, protocol): (source)

Undocumented

@check_hostname.setter
def check_hostname(self, value): (source)

SecureTransport cannot have its hostname checking disabled. For more, see the comment on getpeercert() in this file.

def load_cert_chain(self, certfile, keyfile=None, password=None): (source)

Undocumented

def load_default_certs(self): (source)

Undocumented

def load_verify_locations(self, cafile=None, capath=None, cadata=None): (source)

Undocumented

@options.setter
def options(self, value): (source)

Undocumented

def set_alpn_protocols(self, protocols): (source)

Sets the ALPN protocols that will later be set on the context. Raises a NotImplementedError if ALPN is not supported.

def set_ciphers(self, ciphers): (source)

Undocumented

def set_default_verify_paths(self): (source)

Undocumented

@verify_mode.setter
def verify_mode(self, value): (source)

Undocumented

def wrap_socket(self, sock, server_side=False, do_handshake_on_connect=True, suppress_ragged_eofs=True, server_hostname=None): (source)

Undocumented

@property
check_hostname = (source)

SecureTransport cannot have its hostname checking disabled. For more, see the comment on getpeercert() in this file.

Undocumented

@property
verify_mode = (source)

Undocumented

_alpn_protocols = (source)

Undocumented

_client_cert = (source)

Undocumented

_client_cert_passphrase = (source)

Undocumented

_client_key = (source)

Undocumented

_client_key_passphrase = (source)

Undocumented

_max_version = (source)

Undocumented

_min_version = (source)

Undocumented

_options = (source)

Undocumented

_trust_bundle = (source)

Undocumented

Undocumented