Home
last modified time | relevance | path

Searched refs:SERVER_AUTH (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/
Dssl.py341 Purpose.SERVER_AUTH = Purpose('1.3.6.1.5.5.7.3.1')
407 def load_default_certs(self, purpose=Purpose.SERVER_AUTH):
416 def create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None,
439 if purpose == Purpose.SERVER_AUTH:
465 check_hostname=False, purpose=Purpose.SERVER_AUTH,
Durllib2.py142 context = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH,
/external/python/cpython3/Lib/
Dssl.py375 SERVER_AUTH = '1.3.6.1.5.5.7.3.1' variable in Purpose
474 def load_default_certs(self, purpose=Purpose.SERVER_AUTH):
551 def create_default_context(purpose=Purpose.SERVER_AUTH, *, cafile=None,
567 if purpose == Purpose.SERVER_AUTH:
582 check_hostname=False, purpose=Purpose.SERVER_AUTH,
/external/python/cpython2/Lib/test/
Dtest_ssl.py658 self.assertIsInstance(ssl.Purpose.SERVER_AUTH, ssl._ASN1Object)
659 self.assertEqual(ssl.Purpose.SERVER_AUTH, val)
660 self.assertEqual(ssl.Purpose.SERVER_AUTH.nid, 129)
661 self.assertEqual(ssl.Purpose.SERVER_AUTH.shortname, 'serverAuth')
662 self.assertEqual(ssl.Purpose.SERVER_AUTH.oid,
1124 ctx.load_default_certs(ssl.Purpose.SERVER_AUTH)
/external/python/cpython3/Lib/test/
Dtest_ssl.py908 self.assertIsInstance(ssl.Purpose.SERVER_AUTH, ssl._ASN1Object)
909 self.assertEqual(ssl.Purpose.SERVER_AUTH, val)
910 self.assertEqual(ssl.Purpose.SERVER_AUTH.nid, 129)
911 self.assertEqual(ssl.Purpose.SERVER_AUTH.shortname, 'serverAuth')
912 self.assertEqual(ssl.Purpose.SERVER_AUTH.oid,
1492 ctx.load_default_certs(ssl.Purpose.SERVER_AUTH)
/external/python/cpython2/Doc/library/
Dssl.rst243 .. function:: create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None, capath=None, cadata=…
258 without unauthenticated cipher suites. Passing :data:`~Purpose.SERVER_AUTH`
847 .. data:: Purpose.SERVER_AUTH
1108 .. method:: SSLContext.load_default_certs(purpose=Purpose.SERVER_AUTH)
1117 default settings :data:`Purpose.SERVER_AUTH` loads certificates, that are
/external/python/cpython3/Doc/library/
Dssl.rst121 .. function:: create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None, capath=None, cadata=…
136 without unauthenticated cipher suites. Passing :data:`~Purpose.SERVER_AUTH`
1013 .. data:: Purpose.SERVER_AUTH
1501 .. method:: SSLContext.load_default_certs(purpose=Purpose.SERVER_AUTH)
1510 default settings :data:`Purpose.SERVER_AUTH` loads certificates, that are
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py707 def _dummy_ssl_create_context(purpose=ssl.Purpose.SERVER_AUTH, *,
714 self.assertEqual(purpose, ssl.Purpose.SERVER_AUTH)
/external/python/cpython3/Lib/urllib/
Drequest.py210 context = ssl.create_default_context(ssl.Purpose.SERVER_AUTH,
/external/python/cpython3/Doc/whatsnew/
D3.4.rst1472 (``purpose=``:data:`~ssl.Purpose.SERVER_AUTH`) for a client to use to verify a