Python Library Reference
Previous: Up: 17.2 socket Next:


17.2.2 SSL Objects

SSL objects have the following methods.

write( s)
Writes the string s to the on the object's SSL connection. The return value is the number of bytes written.

read( [n])
If n is provided, read n bytes from the SSL connection, otherwise read until EOF. The return value is a string of the bytes read.

server( )
Returns a string describing the server's certificate. Useful for debugging purposes; do not parse the content of this string because its format can't be parsed unambiguously.

issuer( )
Returns a string describing the issuer of the server's certificate. Useful for debugging purposes; do not parse the content of this string because its format can't be parsed unambiguously.


Python Library Reference
Previous: Up: 17.2 socket Next:

Release 2.5.2, documentation updated on 21st February, 2008.
See About this document... for information on suggesting changes.

AltStyle によって変換されたページ (->オリジナル) /