mirror of
https://github.com/python/cpython.git
synced 2026-03-27 15:10:56 +00:00
commit
b9f2ab9eae
1 changed files with 4 additions and 12 deletions
|
|
@ -1195,6 +1195,10 @@ to speed up repeated connections from the same clients.
|
|||
does not contain certificates from *capath* unless a certificate was
|
||||
requested and loaded by a SSL connection.
|
||||
|
||||
.. note::
|
||||
Certificates in a capath directory aren't loaded unless they have
|
||||
been used at least once.
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
.. method:: SSLContext.set_default_verify_paths()
|
||||
|
|
@ -1375,18 +1379,6 @@ to speed up repeated connections from the same clients.
|
|||
>>> stats['hits'], stats['misses']
|
||||
(0, 0)
|
||||
|
||||
.. method:: SSLContext.get_ca_certs(binary_form=False)
|
||||
|
||||
Returns a list of dicts with information of loaded CA certs. If the
|
||||
optional argument is true, returns a DER-encoded copy of the CA
|
||||
certificate.
|
||||
|
||||
.. note::
|
||||
Certificates in a capath directory aren't loaded unless they have
|
||||
been used at least once.
|
||||
|
||||
.. versionadded:: 3.4
|
||||
|
||||
.. attribute:: SSLContext.check_hostname
|
||||
|
||||
Wether to match the peer cert's hostname with :func:`match_hostname` in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue