mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
whatsnew: SSLSocket.getpeercert new values returned. (#18379)
This commit is contained in:
parent
4e40cec924
commit
2dd0473722
2 changed files with 5 additions and 3 deletions
|
@ -841,10 +841,8 @@ 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.
|
||||||
|
|
||||||
.. method:: SSLSocket.cipher()
|
.. method:: SSLSocket.cipher()
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
----
|
----
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue