[Python-checkins] r65658 - python/trunk/Doc/library/ssl.rst

bill.janssen python-checkins at python.org
Tue Aug 12 19:09:57 CEST 2008


Author: bill.janssen
Date: Tue Aug 12 19:09:57 2008
New Revision: 65658

Log:
update ssl documentation

Modified:
   python/trunk/Doc/library/ssl.rst

Modified: python/trunk/Doc/library/ssl.rst
==============================================================================
--- python/trunk/Doc/library/ssl.rst	(original)
+++ python/trunk/Doc/library/ssl.rst	Tue Aug 12 19:09:57 2008
@@ -322,6 +322,15 @@
                 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


More information about the Python-checkins mailing list