summaryrefslogtreecommitdiff
path: root/doc/pyOpenSSL.tex
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@divmod.com>2011-09-08 18:44:31 -0400
committerJean-Paul Calderone <exarkun@divmod.com>2011-09-08 18:44:31 -0400
commit3958486249048b83ae097c73d29e174010507fb9 (patch)
tree20a26494e2083f6683cfab744161bb410bad98c4 /doc/pyOpenSSL.tex
parentbb960a6f6ccda15ae4c0936fe164490e3d79979a (diff)
parent8afc7fc9936e39ab75f46c89ec91a1745739085e (diff)
downloadpyopenssl-3958486249048b83ae097c73d29e174010507fb9.tar.gz
Add Context.set_mode, MODE_RELEASE_BUFFERS, and OP_NO_COMPRESSION
Diffstat (limited to 'doc/pyOpenSSL.tex')
-rw-r--r--doc/pyOpenSSL.tex12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/pyOpenSSL.tex b/doc/pyOpenSSL.tex
index 99e3479..95009a2 100644
--- a/doc/pyOpenSSL.tex
+++ b/doc/pyOpenSSL.tex
@@ -843,6 +843,8 @@ File type constants used with the \method{use_certificate_file} and
\dataline{OP_NO_SSLv2}
\dataline{OP_NO_SSLv3}
\dataline{OP_NO_TLSv1}
+\dataline{OP_NO_TICKET}
+\dataline{OP_NO_COMPRESSION}
Constants used with \method{set_options} of Context objects.
\constant{OP_SINGLE_DH_USE} means to always create a new key when using ephemeral
Diffie-Hellman. \constant{OP_EPHEMERAL_RSA} means to always use ephemeral RSA keys
@@ -852,6 +854,11 @@ interesting if you're using e.g. \constant{SSLv23_METHOD} to get an SSLv2-compat
handshake, but don't want to use SSLv2.
\end{datadesc}
+\begin{datadesc}{MODE_NO_COMPRESSION}
+Constant used with \method{set_mode} of Context objects to disable automatic
+compression of application traffic.
+\end{datadesc}
+
\begin{datadesc}{SSLEAY_VERSION}
\dataline{SSLEAY_CFLAGS}
\dataline{SSLEAY_BUILT_ON}
@@ -1055,6 +1062,11 @@ Add SSL options. Options you have set before are not cleared!
This method should be used with the \constant{OP_*} constants.
\end{methoddesc}
+\begin{methoddesc}[Context]{set_mode}{mode}
+Add SSL mode. Modes you have set before are not cleared!
+This method should be used with the \constant{MODE_*} constants.
+\end{methoddesc}
+
\begin{methoddesc}[Context]{set_passwd_cb}{callback\optional{, userdata}}
Set the passphrase callback to \var{callback}. This function will be called
when a private key with a passphrase is loaded. \var{callback} must accept