Home
last modified time | relevance | path

Searched refs:match_hostname (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython2/Lib/
Dssl.py255 def match_hostname(cert, hostname): function
854 match_hostname(self.getpeercert(), self.server_hostname)
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a2.rst234 ssl.match_hostname() now supports matching of IP addresses.
D3.7.0b2.rst227 ssl.match_hostname() has been simplified and no longer depends on re and
D3.7.0a3.rst344 :meth:`ssl.match_hostname`. Patch by Mandeep Singh.
D3.9.0a1.rst88 ssl.match_hostname() no longer accepts IPv4 addresses with additional text
D3.8.0a1.rst5790 ssl.match_hostname() has been simplified and no longer depends on re and
/external/python/cpython2/Doc/library/
Dssl.rst380 .. function:: match_hostname(cert, hostname)
394 >>> ssl.match_hostname(cert, "example.com")
395 >>> ssl.match_hostname(cert, "example.org")
398 File "/home/py3k/Lib/ssl.py", line 130, in match_hostname
901 The handshake method also performs :func:`match_hostname` when the
947 :func:`match_hostname` function.
1326 Wether to match the peer cert's hostname with :func:`match_hostname` in
1760 in this case, the :func:`match_hostname` function can be used. This common
/external/python/cpython3/Lib/test/
Dtest_ssl.py693 ssl.match_hostname(cert, hostname)
696 ssl.match_hostname, cert, hostname)
844 self.assertRaises(ValueError, ssl.match_hostname, None, 'example.com')
845 self.assertRaises(ValueError, ssl.match_hostname, {}, 'example.com')
853 ssl.match_hostname(cert, 'axxb.example.com')
859 ssl.match_hostname(cert, 'www.sub.example.com')
865 ssl.match_hostname(cert, 'axxbxxc.example.com')
871 ssl.match_hostname(cert, 'host')
877 ssl.match_hostname(cert, 'com')
/external/python/cpython2/Lib/test/
Dtest_ssl.py408 ssl.match_hostname(cert, hostname)
411 ssl.match_hostname, cert, hostname)
525 self.assertRaises(ValueError, ssl.match_hostname, None, 'example.com')
526 self.assertRaises(ValueError, ssl.match_hostname, {}, 'example.com')
536 ssl.match_hostname(cert, 'axxbxxc.com')
/external/python/cpython3/Doc/library/
Dssl.rst359 .. function:: match_hostname(cert, hostname)
372 >>> ssl.match_hostname(cert, "example.com")
373 >>> ssl.match_hostname(cert, "example.org")
376 File "/home/py3k/Lib/ssl.py", line 130, in match_hostname
1222 The handshake method also performs :func:`match_hostname` when the
1232 function :func:`match_hostname` is no longer used. In case OpenSSL
1278 :func:`match_hostname` function.
2664 in this case, the :func:`match_hostname` function can be used. This common
2670 :func:`match_hostname`.
/external/python/cpython3/Lib/
Dssl.py371 def match_hostname(cert, hostname): function
/external/autotest/utils/frozen_chromite/third_party/python3/httplib2/
D__init__.py1319 ssl.match_hostname(self.sock.getpeercert(), self.host)
/external/python/httplib2/python3/httplib2/
D__init__.py1334 ssl.match_hostname(self.sock.getpeercert(), self.host)
/external/python/cpython3/Doc/whatsnew/
D3.7.rst1326 :func:`~ssl.match_hostname` to check a host name or an IP address. Values
1344 :func:`~ssl.match_hostname` no longer supports partial wildcards like
D3.10.rst1765 * :func:`~ssl.match_hostname`
D3.5.rst1822 The :func:`~ssl.match_hostname` function now supports matching of IP addresses.
D3.2.rst1641 * A new function, :func:`ssl.match_hostname`, supports server identity
D3.4.rst157 (:func:`ssl.match_hostname`) and CRLs (Certificate Revocation lists, see
/external/python/setuptools/
DCHANGES.rst848 * #2715: Removed reliance on deprecated ssl.match_hostname by removing the ssl support. Now any ind…
4577 * Address security vulnerability in SSL match_hostname check as reported in
/external/python/cpython3/Misc/
DHISTORY3503 - Issue #17997: Change behavior of ``ssl.match_hostname()`` to follow RFC 6125,
4959 - Issue #17980: Fix possible abuse of ssl.match_hostname() for denial of
9703 dNSName entry, ssl.match_hostname() should use the subject's commonName.
11969 - Issue #1589: Add ssl.match_hostname(), to help implement server identity