ssl.match_hostname(cert, hostname) Verify that cert (in decoded format as returned by SSLSocket.getpeercert())
SSLContext.wrap_socket(sock, server_side=False, do_handshake_on_connect=True, suppress_ragged_eofs=True, server_hostname=None) Wrap
ssl.OP_NO_SSLv3 Prevents an SSLv3 connection. This option is only applicable in conjunction with PROTOCOL_SSLv23
socket.inet_aton(ip_string) Convert an IPv4 address from dotted-quad string format (for example, ‘123.45.67.89’) to 32-bit packed
handle_accept() Called on listening channels (passive openers) when a connection can be established with a new remote endpoint
socket.recv_into(buffer[, nbytes[, flags]]) Receive up to nbytes bytes from the socket, storing the data into a buffer
SSLSocket.selected_alpn_protocol() Return the protocol that was selected during the TLS handshake. If SSLContext.set_
SSLSocket.context The SSLContext object this SSL socket is tied to. If the SSL socket was created using the top-level
signal.signal(signalnum, handler) Set the handler for signal signalnum to the function handler. handler
close() Closes the mmap. Subsequent calls to other methods of the object will result in a ValueError exception being raised
Page 3 of 22