[Python-3000-checkins] r65657 - python/branches/py3k/Doc/library/ssl.rst
bill.janssen
python-3000-checkins at python.org
Tue Aug 12 19:09:27 CEST 2008
Author: bill.janssen
Date: Tue Aug 12 19:09:27 2008
New Revision: 65657
Log:
update ssl documentation
Modified:
python/branches/py3k/Doc/library/ssl.rst
Modified: python/branches/py3k/Doc/library/ssl.rst
==============================================================================
--- python/branches/py3k/Doc/library/ssl.rst (original)
+++ python/branches/py3k/Doc/library/ssl.rst Tue Aug 12 19:09:27 2008
@@ -279,6 +279,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
+
.. method:: SSLSocket.getpeercert(binary_form=False)
If there is no certificate for the peer on the other end of the
More information about the Python-3000-checkins
mailing list