diff options
author | Illia Volochii <illia.volochii@gmail.com> | 2022-11-24 02:24:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-24 02:24:09 (GMT) |
commit | 9dc08361bef67a331d1609c8629314c0ca5a79d5 (patch) | |
tree | 7a70ab90fa9f4e9f2b82b239f2f8f391a292664c /Doc | |
parent | c69cfcdb116c4907b306e2bd0e263d5ceba48bd5 (diff) | |
download | cpython-9dc08361bef67a331d1609c8629314c0ca5a79d5.zip cpython-9dc08361bef67a331d1609c8629314c0ca5a79d5.tar.gz cpython-9dc08361bef67a331d1609c8629314c0ca5a79d5.tar.bz2 |
gh-96828: Add an `ssl.OP_ENABLE_KTLS` option (GH-96830)
Expose the constant when OpenSSL defines it.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/ssl.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index 4e6d06d..08824fe 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -807,6 +807,22 @@ Constants .. versionadded:: 3.10 +.. data:: OP_ENABLE_KTLS + + Enable the use of the kernel TLS. To benefit from the feature, OpenSSL must + have been compiled with support for it, and the negotiated cipher suites and + extensions must be supported by it (a list of supported ones may vary by + platform and kernel version). + + Note that with enabled kernel TLS some cryptographic operations are + performed by the kernel directly and not via any available OpenSSL + Providers. This might be undesirable if, for example, the application + requires all cryptographic operations to be performed by the FIPS provider. + + This option is only available with OpenSSL 3.0.0 and later. + + .. versionadded:: 3.12 + .. data:: HAS_ALPN Whether the OpenSSL library has built-in support for the *Application-Layer |