SSLSocket.cipher() Returns a three-value tuple containing the name of the cipher being used, the version of the SSL protocol
SSLContext.wrap_bio(incoming, outgoing, server_side=False, server_hostname=None) Create a new SSLObject instance
listen(backlog) Listen for connections made to the socket. The backlog argument specifies the maximum number of queued
handle_expt() Called when there is out of band (OOB) data for a socket connection. This will almost never happen, as OOB is
move(dest, src, count) Copy the count bytes starting at offset src to the destination index dest
socket.setblocking(flag) Set blocking or non-blocking mode of the socket: if flag is false, the socket is set to non-blocking
SSLSocket.version() Return the actual SSL protocol version negotiated by the connection as a string, or None is
SSLSocket.get_channel_binding(cb_type="tls-unique") Get channel binding data for current connection, as a bytes object. Returns
create_socket(family=socket.AF_INET, type=socket.SOCK_STREAM) This is identical to the creation of a normal socket, and will
socket.socket(family=AF_INET, type=SOCK_STREAM, proto=0, fileno=None) Create a new socket using the given address family, socket
Page 16 of 22