|
|
type | __class__ (self) |
| |
|
None | __init__ (self, int protocol=None) |
| |
|
ssl.SSLSocket | wrap_socket (self, socket.socket sock, bool server_side=False, bool do_handshake_on_connect=True, bool suppress_ragged_eofs=True, str|None server_hostname=None, ssl.SSLSession|None session=None) |
| |
|
ssl.SSLObject | wrap_bio (self, ssl.MemoryBIO incoming, ssl.MemoryBIO outgoing, bool server_side=False, str|None server_hostname=None, ssl.SSLSession|None session=None) |
| |
|
None | load_verify_locations (self, str|bytes|os.PathLike[str]|os.PathLike[bytes]|None cafile=None, str|bytes|os.PathLike[str]|os.PathLike[bytes]|None capath=None, typing.Union[str, "Buffer", None] cadata=None) |
| |
|
None | load_cert_chain (self, _StrOrBytesPath certfile, _StrOrBytesPath|None keyfile=None, _PasswordType|None password=None) |
| |
|
None | load_default_certs (self, ssl.Purpose purpose=ssl.Purpose.SERVER_AUTH) |
| |
|
None | set_alpn_protocols (self, typing.Iterable[str] alpn_protocols) |
| |
|
None | set_npn_protocols (self, typing.Iterable[str] npn_protocols) |
| |
|
None | set_ciphers (self, str __cipherlist) |
| |
|
typing.Any | get_ciphers (self) |
| |
|
dict[str, int] | session_stats (self) |
| |
|
dict[str, int] | cert_store_stats (self) |
| |
|
list[typing.Any] | get_ca_certs (self, typing.Literal[False] binary_form=...) |
| |
|
list[bytes] | get_ca_certs (self, typing.Literal[True] binary_form=...) |
| |
|
typing.Any | get_ca_certs (self, bool binary_form=...) |
| |
|
list[typing.Any]|list[bytes] | get_ca_certs (self, bool binary_form=False) |
| |
|
bool | check_hostname (self) |
| |
|
None | check_hostname (self, bool value) |
| |
|
bool | hostname_checks_common_name (self) |
| |
|
None | hostname_checks_common_name (self, bool value) |
| |
|
str | keylog_filename (self) |
| |
|
None | keylog_filename (self, str value) |
| |
|
ssl.TLSVersion | maximum_version (self) |
| |
|
None | maximum_version (self, ssl.TLSVersion value) |
| |
|
ssl.TLSVersion | minimum_version (self) |
| |
|
None | minimum_version (self, ssl.TLSVersion value) |
| |
|
ssl.Options | options (self) |
| |
|
None | options (self, ssl.Options value) |
| |
|
bool | post_handshake_auth (self) |
| |
|
None | post_handshake_auth (self, bool value) |
| |
|
ssl._SSLMethod | protocol (self) |
| |
|
int | security_level (self) |
| |
|
ssl.VerifyFlags | verify_flags (self) |
| |
|
None | verify_flags (self, ssl.VerifyFlags value) |
| |
|
ssl.VerifyMode | verify_mode (self) |
| |
|
None | verify_mode (self, ssl.VerifyMode value) |
| |
SSLContext API that uses system certificates on all platforms