MCPcopy Index your code
hub / github.com/python/cpython / supports_kx_alias

Function supports_kx_alias

Lib/test/test_ssl.py:3095–3100  ·  view source on GitHub ↗
(ctx, aliases)

Source from the content-addressed store, hash-verified

3093
3094
3095def supports_kx_alias(ctx, aliases):
3096 for cipher in ctx.get_ciphers():
3097 for alias in aliases:
3098 if f"Kx={alias}" in cipher['description']:
3099 return True
3100 return False
3101
3102
3103class ThreadedTests(unittest.TestCase):

Callers 1

test_dh_paramsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…