summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@divmod.com>2011-09-11 09:18:14 -0400
committerJean-Paul Calderone <exarkun@divmod.com>2011-09-11 09:18:14 -0400
commit2164154f28866f6d125c67b5ba306c2211bbc066 (patch)
treef704967c48f643a2762ba82773aabff23868ec01 /doc
parentf1b7030bab5f838bd174779196ea6110a7270a7d (diff)
parent3958486249048b83ae097c73d29e174010507fb9 (diff)
downloadpyopenssl-2164154f28866f6d125c67b5ba306c2211bbc066.tar.gz
merge trunk
Diffstat (limited to 'doc')
-rw-r--r--doc/api/ssl.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/api/ssl.rst b/doc/api/ssl.rst
index 7c1bc3d..1eed876 100644
--- a/doc/api/ssl.rst
+++ b/doc/api/ssl.rst
@@ -39,6 +39,8 @@ Context, Connection.
OP_NO_SSLv2
OP_NO_SSLv3
OP_NO_TLSv1
+ OP_NO_TICKET
+ OP_NO_COMPRESSION
Constants used with :py:meth:`set_options` of Context objects.
@@ -51,6 +53,12 @@ Context, Connection.
to use SSLv2.
+.. 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
@@ -288,6 +296,12 @@ Context objects have the following methods:
This method should be used with the :py:const:`OP_*` constants.
+.. py:method:: Context.set_mode(mode)
+
+ Add SSL mode. Modes you have set before are not cleared! This method should
+ be used with the :py:const:`MODE_*` constants.
+
+
.. py:method:: Context.set_passwd_cb(callback[, userdata])
Set the passphrase callback to *callback*. This function will be called