Ssl

package python.lib

Available on python

Static variables

staticCERT_REQUIRED:Int

staticOP_NO_COMPRESSION:Int

staticOP_NO_SSLv2:Int

staticOP_NO_SSLv3:Int

staticOP_NO_TLSv1:Int

Prevents a TLSv1 connection. This option is only applicable in conjunction with PROTOCOL_TLS. It prevents the peers from choosing TLSv1 as the protocol version.

staticOP_NO_TLSv1_1:Int

Prevents a TLSv1.1 connection. This option is only applicable in conjunction with PROTOCOL_TLS. It prevents the peers from choosing TLSv1.1 as the protocol version. Available only with openssl version 1.0.1+.

since python 3.4

staticPROTOCOL_SSLv23:String

staticPROTOCOL_TLS:String

staticcreate_default_context:(purpose:String) ‑> SSLContext