Commit ec65fc4a authored by R David Murray's avatar R David Murray

whatsnew: SSLSocket.getpeercert new values returned. (#18379)

parent c96136c3
...@@ -841,8 +841,6 @@ SSL sockets also have the following additional methods and attributes: ...@@ -841,8 +841,6 @@ SSL sockets also have the following additional methods and attributes:
.. versionchanged:: 3.4 .. versionchanged:: 3.4
:exc:`ValueError` is raised when the handshake isn't done. :exc:`ValueError` is raised when the handshake isn't done.
.. versionchanged:: 3.4
The returned dictionary includes additional X509v3 extension items The returned dictionary includes additional X509v3 extension items
such as ``crlDistributionPoints``, ``caIssuers`` and ``OCSP`` URIs. such as ``crlDistributionPoints``, ``caIssuers`` and ``OCSP`` URIs.
......
...@@ -1297,6 +1297,10 @@ Support for server-side SNI using the new ...@@ -1297,6 +1297,10 @@ Support for server-side SNI using the new
:meth:`ssl.SSLContext.set_servername_callback` method. :meth:`ssl.SSLContext.set_servername_callback` method.
(Contributed by Daniel Black in :issue:`8109`.) (Contributed by Daniel Black in :issue:`8109`.)
The dictionary returned by :meth:`.SSLSocket.getpeercert` contains additional
``X509v3`` extension items: ``crlDistributionPoints``, ``calIssuers``, and
``OCSP`` URIs. (Contributed by Christian Heimes in :issue:`18379`.)
stat stat
---- ----
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment