summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBill Janssen <janssen@parc.com>2008-08-12 17:09:57 (GMT)
committerBill Janssen <janssen@parc.com>2008-08-12 17:09:57 (GMT)
commit5bfbd763f3f34d779e6435fb13d79f61f25e1af6 (patch)
tree60c10115d60843df05a3d7dd943fe1aadc22f322 /Doc
parent39295c2650fe3f7d0a94bfa172e95cfedb28433f (diff)
downloadcpython-5bfbd763f3f34d779e6435fb13d79f61f25e1af6.zip
cpython-5bfbd763f3f34d779e6435fb13d79f61f25e1af6.tar.gz
cpython-5bfbd763f3f34d779e6435fb13d79f61f25e1af6.tar.bz2
update ssl documentation
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/ssl.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index a41c6ea..df161fd 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -322,6 +322,15 @@ SSLSocket Objects
else:
raise
+.. method:: SSLSocket.unwrap()
+
+ Performs the SSL shutdown handshake, which removes the TLS layer
+ from the underlying socket, and returns the underlying socket
+ object. This can be used to go from encrypted operation over a
+ connection to unencrypted. The returned socket should always be
+ used for further communication with the other side of the
+ connection, rather than the original socket
+
.. index:: single: certificates
.. index:: single: X509 certificate