update ssl documentation

This commit is contained in:
Bill Janssen 2008-08-12 17:09:57 +00:00
parent 39295c2650
commit 5bfbd763f3
1 changed files with 9 additions and 0 deletions

View File

@ -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