MCPcopy Create free account
hub / github.com/EasyIME/PIME / default_ssl_options

Method default_ssl_options

python/python3/tornado/testing.py:562–570  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

560
561 @staticmethod
562 def default_ssl_options() -> Dict[str, Any]:
563 # Testing keys were generated with:
564 # openssl req -new -keyout tornado/test/test.key \
565 # -out tornado/test/test.crt -nodes -days 3650 -x509
566 module_dir = os.path.dirname(__file__)
567 return dict(
568 certfile=os.path.join(module_dir, "test", "test.crt"),
569 keyfile=os.path.join(module_dir, "test", "test.key"),
570 )
571
572 def get_protocol(self) -> str:
573 return "https"

Callers 2

get_ssl_optionsMethod · 0.80
get_ssl_optionsMethod · 0.80

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected