SSLSocket.server_side A boolean which is True for server-side sockets and False for client-side sockets
ssl.match_hostname(cert, hostname) Verify that cert (in decoded format as returned by SSLSocket.getpeercert())
SSLSocket.server_hostname Hostname of the server:
ssl.PROTOCOL_TLSv1 Selects TLS version 1.0 as the channel encryption protocol.
SSLContext.wrap_socket(sock, server_side=False, do_handshake_on_connect=True, suppress_ragged_eofs=True, server_hostname=None) Wrap
socket.connect(address) Connect to a remote socket at address. (The format of address depends on the address
signal.signal(signalnum, handler) Set the handler for signal signalnum to the function handler. handler
socket.recv_into(buffer[, nbytes[, flags]]) Receive up to nbytes bytes from the socket, storing the data into a buffer
SSLSocket.context The SSLContext object this SSL socket is tied to. If the SSL socket was created using the top-level
close() Closes the mmap. Subsequent calls to other methods of the object will result in a ValueError exception being raised
Page 1 of 22