Skip to content

Commit d1782da

Browse files
committed
gh-138252: Document OpenSSL version requirements for the ssl signature-algorithm APIs
1 parent eb44708 commit d1782da

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

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

1329+
This method requires OpenSSL 3.5 or later; it raises
1330+
:exc:`NotImplementedError` when linked against an older version.
1331+
13261332
.. versionadded:: 3.15
13271333

13281334
.. method:: SSLSocket.server_sigalg()
@@ -1331,6 +1337,9 @@ SSL sockets also have the following additional methods and attributes:
13311337
handshake on this connection, or ``None`` if no connection has been
13321338
established or the cipher suite has no signature.
13331339

1340+
This method requires OpenSSL 3.5 or later; it raises
1341+
:exc:`NotImplementedError` when linked against an older version.
1342+
13341343
.. versionadded:: 3.15
13351344

13361345
.. method:: SSLSocket.compression()

0 commit comments

Comments
 (0)