summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@divmod.com>2011-05-26 18:47:00 -0400
committerJean-Paul Calderone <exarkun@divmod.com>2011-05-26 18:47:00 -0400
commitc4cb658c516e20cad3e8707ba66dab78ce0bd1e8 (patch)
tree4495cb872f64d0d667d5f571a6f3efc23e3fe319 /doc
parent95613b7e9461a34db446501ce565c41feb7f5c6d (diff)
downloadpyopenssl-c4cb658c516e20cad3e8707ba66dab78ce0bd1e8.tar.gz
And SSL_get_servername, SSL_set_tlsext_host_name, and SSL_CTX_set_tlsext_servername_callback
Diffstat (limited to 'doc')
-rw-r--r--doc/pyOpenSSL.tex16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/pyOpenSSL.tex b/doc/pyOpenSSL.tex
index 8ea37c4..4e00c14 100644
--- a/doc/pyOpenSSL.tex
+++ b/doc/pyOpenSSL.tex
@@ -1122,6 +1122,12 @@ format specified by \var{format}, which is either \constant{FILETYPE_PEM} or
\constant{FILETYPE_ASN1}. The default is \constant{FILETYPE_PEM}.
\end{methoddesc}
+\begin{methoddesc}[Context]{set_tlsext_servername_callback}{callback}
+Specify a one-argument callable to use as the TLS extension server name
+callback. When a connection using the server name extension is made using this
+context, the callback will be invoked with the \code{Connection} instance.
+\versionadded{0.13}
+\end{methoddesc}
\subsubsection{Connection objects \label{openssl-connection}}
@@ -1338,6 +1344,16 @@ Checks if there is data to write to the transport layer to complete an
operation.
\end{methoddesc}
+\begin{methoddesc}[Connection]{set_tlsext_host_name}{name}
+Specify the byte string to send as the server name in the client hello message.
+\versionadded{0.13}
+\end{methoddesc}
+
+\begin{methoddesc}[Connection]{get_servername}{}
+Get the value of the server name received in the client hello message.
+\versionadded{0.13}
+\end{methoddesc}
+
\section{Internals \label{internals}}