SSLSocket.cipher() Returns a three-value tuple containing the name of the cipher being used, the version of the SSL protocol
listen(backlog) Listen for connections made to the socket. The backlog argument specifies the maximum number of queued
ssl.OP_NO_TLSv1_1 Prevents a TLSv1.1 connection. This option is only applicable in conjunction with PROTOCOL_SSLv23
socket.ioctl(control, option)
exception ssl.SSLWantReadError A subclass of SSLError raised by a non-blocking SSL socket when trying
ssl.get_server_certificate(addr, ssl_version=PROTOCOL_SSLv23, ca_certs=None) Given the address addr of an SSL-protected
SSLSocket.getpeercert(binary_form=False) If there is no certificate for the peer on the other end of the connection, return
SSLContext.set_npn_protocols(protocols) Specify which protocols the socket should advertise during the SSL/TLS handshake. It
SSLSocket.compression() Return the compression algorithm being used as a string, or None if the connection isn’t
handle_expt() Called when there is out of band (OOB) data for a socket connection. This will almost never happen, as OOB is
Page 17 of 22