Developpez.com

Python

Choisissez la catégorie, puis la rubrique :

17.2.2 SSL Objects


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 containing the ASN.1 distinguished name identifying the server's certificate. (See below for an example showing what distinguished names look like.)

issuer( )
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.
Contacter le responsable de la rubrique Python

Partenaire : Hébergement Web