SSLContext.set_ciphers(ciphers) Set the available ciphers for sockets created with this context. It should be a string in the
handle_close() Called when the socket is closed.
ssl.PROTOCOL_SSLv2 Selects SSL version 2 as the channel encryption protocol. This protocol is
writable() Called each time around the asynchronous loop to determine whether a channel’s socket should be added to the list
exception ssl.SSLWantWriteError A subclass of SSLError raised by a non-blocking SSL socket when trying
socket.connect_ex(address) Like connect(address), but return an error indicator instead of raising an exception
ssl.PROTOCOL_SSLv3 Selects SSL version 3 as the channel encryption protocol. This protocol is
SSLContext.cert_store_stats() Get statistics about quantities of loaded X.509 certificates, count of X.509 certificates flagged
class ssl.SSLContext(protocol) Create a new SSL context. You must pass protocol which must be one of the PROTOCOL_*
socket.gettimeout() Return the timeout in seconds (float) associated with socket operations, or None if no timeout
Page 10 of 22