per page, with , order by , clip by
Results of 1 - 1 of about 1 for ssock (0.002 sec.)
ssl --- ソケットオブジェクト用の TLS/SSL ラッパー 9414
ssl --- ソケットオブジェクト用の TLS/SSL ラッパー Source code: Lib/ssl.py このモジュールは、クライアント側とサーバー側の両方のネットワークソケットで Transport Layer Security (「Secure Sockets Layer」としてもよく知られています) による暗号化と ... ostname = 'www.python.org' context = ssl . create_default_context () with socket . create_connection (( hostname , 443 )) as sock : with context . wrap_socket ( sock , server_hostname = hostname ) as ssock : print ( ssock . version ()) 独自のコンテキス ... t . load_verify_locations ( 'path/to/cabundle.pem' ) with socket . socket ( socket . AF_INET , socket . SOCK_STREAM , 0 ) as sock : with context . wrap_socket ( sock , server_hostname = hostname ) as ssock : print ( ssock . version ()) ローカルホストの ... '/path/to/certchain.pem' , '/path/to/private.key' ) with socket . socket ( socket . AF_INET , socket . SOCK_STREAM , 0 ) as sock : sock . bind (( '127.0.0.1' , 8443 )) sock . listen ( 5 ) with context . wrap_socket ( sock , server_side = True ) as ss ...
https://man.mtool.work/python/3.14/library/ssl.html
PREV 1 NEXT