Static variables

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.

@:require(python_version >= 3.4)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

@:require(python_version >= 3.6)staticPROTOCOL_TLS:String

@:require(python_version >= 3.4)staticcreate_default_context:(purpose:String) ‑> SSLContext