ssl.match_hostname(cert, hostname) Verify that cert (in decoded format as returned by SSLSocket.getpeercert())
async_chat.collect_incoming_data(data) Called with data holding an arbitrary amount of received data. The default method
SSLSocket.selected_alpn_protocol() Return the protocol that was selected during the TLS handshake. If SSLContext.set_
handle_connect() Called when the active opener’s socket actually makes a connection. Might send a “welcome” banner, or initiate
ssl.RAND_bytes(num) Return num cryptographically strong pseudo-random bytes. Raises an SSLError if the
signal.pthread_sigmask(how, mask) Fetch and/or change the signal mask of the calling thread. The signal mask is the set of signals
socket.recv_into(buffer[, nbytes[, flags]]) Receive up to nbytes bytes from the socket, storing the data into a buffer
socket.share(process_id) Duplicate a socket and prepare it for sharing with a target process. The target process must be provided
socket.fileno() Return the socket’s file descriptor (a small integer), or -1 on failure. This is useful with
handle_accept() Called on listening channels (passive openers) when a connection can be established with a new remote endpoint
Page 1 of 22