summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@twistedmatrix.com>2014-03-30 10:45:00 -0400
committerJean-Paul Calderone <exarkun@twistedmatrix.com>2014-03-30 10:45:00 -0400
commit7c556ef6ab9e721b25f2704c306d0ef2dd66dae0 (patch)
tree13e17d7df7515f2953a9f913feb90bb5ba0a5196 /doc
parent416f4a1d5cfd3c76736ebd68f33c4f76af27568b (diff)
parentf31707592c248784b2605affa06303a2cb6eb694 (diff)
downloadpyopenssl-7c556ef6ab9e721b25f2704c306d0ef2dd66dae0.tar.gz
merge master
Diffstat (limited to 'doc')
-rw-r--r--doc/api/ssl.rst30
1 files changed, 24 insertions, 6 deletions
diff --git a/doc/api/ssl.rst b/doc/api/ssl.rst
index df21a1d..dfeb158 100644
--- a/doc/api/ssl.rst
+++ b/doc/api/ssl.rst
@@ -83,12 +83,6 @@ Context, Connection.
:py:const:`OP_NO_*` constant may be undefined.
-.. py:data:: MODE_NO_COMPRESSION
-
- Constant used with :py:meth:`set_mode` of Context objects to disable
- automatic compression of application traffic.
-
-
.. py:data:: SSLEAY_VERSION
SSLEAY_CFLAGS
SSLEAY_BUILT_ON
@@ -765,6 +759,7 @@ Connection objects have the following methods:
.. versionadded:: 0.14
+
.. py:method:: Connection.get_finished()
Obtain latest TLS Finished message that we sent, or :py:obj:`None` if
@@ -772,6 +767,7 @@ Connection objects have the following methods:
.. versionadded:: 0.15
+
.. py:method:: Connection.get_peer_finished()
Obtain latest TLS Finished message that we expected from peer, or
@@ -779,6 +775,28 @@ Connection objects have the following methods:
.. versionadded:: 0.15
+
+.. 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
.. [#connection-context-socket] Actually, all that is required is an object that