ssl.SSLSocket.shared_ciphers()

SSLSocket.shared_ciphers()

Return the list of ciphers shared by the client during the handshake. Each entry of the returned list is a three-value tuple containing the name of the cipher, the version of the SSL protocol that defines its use, and the number of secret bits the cipher uses. shared_ciphers() returns None if no connection has been established or the socket is a client socket.

New in version 3.5.

doc_python
2016-10-07 17:42:58
Comments
Leave a Comment

Please login to continue.