PyDocs

Nav

Networking and Interprocess Communication

SSLContext.get_groups

ssl

method of SSLContext · Added in 3.15not WASI
  • SSLContext.get_groups(*, include_aliases=False)
Get a list of groups implemented for key agreement, taking into account the current TLS minimum_version and maximum_version values. For example:
1 Example
>>> ctx = ssl.create_default_context()
>>> ctx.minimum_version = ssl.TLSVersion.TLSv1_3
>>> ctx.maximum_version = ssl.TLSVersion.TLSv1_3
>>> ctx.get_groups()
['secp256r1', 'secp384r1', 'secp521r1', 'x25519', 'x448', ...]
from the Python docs
See Also
No see-alsos for ssl/SSLContext.get_groups
0 Notes
No notes for SSLContext.get_groups