Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
pip._vendor.urllib3.contrib.securetransport.SecureTransportContext Class Reference
Inheritance diagram for pip._vendor.urllib3.contrib.securetransport.SecureTransportContext:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.urllib3.contrib.securetransport.SecureTransportContext:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, protocol)
 
 check_hostname (self)
 
 check_hostname (self, value)
 
 options (self)
 
 options (self, value)
 
 verify_mode (self)
 
 verify_mode (self, value)
 
 set_default_verify_paths (self)
 
 load_default_certs (self)
 
 set_ciphers (self, ciphers)
 
 load_verify_locations (self, cafile=None, capath=None, cadata=None)
 
 load_cert_chain (self, certfile, keyfile=None, password=None)
 
 set_alpn_protocols (self, protocols)
 
 wrap_socket (self, sock, server_side=False, do_handshake_on_connect=True, suppress_ragged_eofs=True, server_hostname=None)
 

Protected Attributes

 _min_version
 
 _max_version
 
 _options
 
 _verify
 
 _trust_bundle
 
 _client_cert
 
 _client_key
 
 _client_key_passphrase
 
 _alpn_protocols
 
 _client_cert_passphrase
 

Detailed Description

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

Member Function Documentation

◆ check_hostname() [1/2]

pip._vendor.urllib3.contrib.securetransport.SecureTransportContext.check_hostname (   self)
SecureTransport cannot have its hostname checking disabled. For more,
see the comment on getpeercert() in this file.

◆ check_hostname() [2/2]

pip._vendor.urllib3.contrib.securetransport.SecureTransportContext.check_hostname (   self,
  value 
)
SecureTransport cannot have its hostname checking disabled. For more,
see the comment on getpeercert() in this file.

◆ set_alpn_protocols()

pip._vendor.urllib3.contrib.securetransport.SecureTransportContext.set_alpn_protocols (   self,
  protocols 
)
Sets the ALPN protocols that will later be set on the context.

Raises a NotImplementedError if ALPN is not supported.

The documentation for this class was generated from the following file: