Skip to content

Commit eaa471a

Browse files
committed
gh-154517: Document OpenSSL version requirements for the ssl signature algorithm APIs
1 parent e56cc61 commit eaa471a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Doc/library/ssl.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@ Signature algorithms
230230
:meth:`SSLContext.set_client_sigalgs` and
231231
:meth:`SSLContext.set_server_sigalgs` methods.
232232

233+
This function requires OpenSSL 3.4 or later; it raises
234+
:exc:`NotImplementedError` when linked against an older version.
235+
233236
.. versionadded:: 3.15
234237

235238

@@ -1326,6 +1329,9 @@ SSL sockets also have the following additional methods and attributes:
13261329
authentication on this connection, or ``None`` if no connection has been
13271330
established or client authentication didn't occur.
13281331

1332+
This method requires OpenSSL 3.5 or later; it raises
1333+
:exc:`NotImplementedError` when linked against an older version.
1334+
13291335
.. versionadded:: 3.15
13301336

13311337
.. method:: SSLSocket.server_sigalg()
@@ -1334,6 +1340,9 @@ SSL sockets also have the following additional methods and attributes:
13341340
handshake on this connection, or ``None`` if no connection has been
13351341
established or the cipher suite has no signature.
13361342

1343+
This method requires OpenSSL 3.5 or later; it raises
1344+
:exc:`NotImplementedError` when linked against an older version.
1345+
13371346
.. versionadded:: 3.15
13381347

13391348
.. method:: SSLSocket.compression()

0 commit comments

Comments
 (0)