17.2.2 SSL Objects

Python 2.5

17.2.2 SSL Objects

SSL objects have the following methods.

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

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.

Returns a string containing the ASN.1 distinguished name identifying the server's certificate. (See below for an example showing what distinguished names look like.)

Returns a string containing the ASN.1 distinguished name identifying the issuer of the server's certificate.

See About this document... for information on suggesting changes.