summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorFedor Brunner <fedor.brunner@azet.sk>2014-03-10 10:35:23 +0100
committerFedor Brunner <fedor.brunner@azet.sk>2014-03-10 10:40:45 +0100
commit2cffdbc96f26052351d5ce7ec3e3ce738e7454ab (patch)
tree15065b5df7b7aa028155834c8069792c6652330f /doc
parentd95014aa296010cb8ed29f282ddb1abbec9e3692 (diff)
downloadpyopenssl-2cffdbc96f26052351d5ce7ec3e3ce738e7454ab.tar.gz
Test methods test_get_cipher_* have been split into two sets.
assertTrue(isinstance was replaced with assertIsInstance. assertEqual for None was replaced with assertIs. Added entries to doc/api/ssl.rst.
Diffstat (limited to 'doc')
-rw-r--r--doc/api/ssl.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/api/ssl.rst b/doc/api/ssl.rst
index b506757..570fa7d 100644
--- a/doc/api/ssl.rst
+++ b/doc/api/ssl.rst
@@ -765,6 +765,23 @@ Connection objects have the following methods:
.. versionadded:: 0.14
+.. py:method:: Connection.get_cipher_name()
+
+ Obtain the name of the currently used cipher.
+
+ .. versionadded:: 0.15
+
+.. py:method:: Connection.get_cipher_bits()
+
+ Obtain the number of secret bits of the currently used cipher.
+
+ .. versionadded:: 0.15
+
+.. py:method:: Connection.get_cipher_version()
+
+ Obtain the protocol name of the currently used cipher.
+
+ .. versionadded:: 0.15
.. Rubric:: Footnotes