pyca/pyopenssl — pull request #35 by fedor-brunner (2014-02-20 15:53:24+00:00)
Title: Get the actually used cipher of the established connection.

This cipher() method is similarly to SSLSocket.cipher() in Python ssl module.
http://docs.python.org/3/library/ssl.html

In Python 3, this method returns bytes. The original SSLSocket.cipher() in ssl module returns strings.