SSLContext.check_hostname Whether to match the peer cert’s hostname with match_hostname() in SSLSocket.d
SSLSocket.cipher() Returns a three-value tuple containing the name of the cipher being used, the version of the SSL protocol
SSLSocket.get_channel_binding(cb_type="tls-unique") Get channel binding data for current connection, as a bytes object. Returns
bind(address) Bind the socket to address. The socket must not already be bound. (The format of address depends
SSLSocket.version() Return the actual SSL protocol version negotiated by the connection as a string, or None is
ssl.DER_cert_to_PEM_cert(DER_cert_bytes) Given a certificate as a DER-encoded blob of bytes, returns a PEM-encoded string version
exception ssl.SSLWantReadError A subclass of SSLError raised by a non-blocking SSL socket when trying
SSLSocket.read(len=1024, buffer=None) Read up to len bytes of data from the SSL socket and return the result as a bytes
tell() Returns the current position of the file pointer.
SSLContext.set_ecdh_curve(curve_name) Set the curve name for Elliptic Curve-based Diffie-Hellman (ECDH) key exchange. ECDH is
Page 17 of 22