Searched refs:SERVER_AUTH (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Lib/ |
D | ssl.py | 341 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,
|
D | urllib2.py | 142 context = ssl.create_default_context(purpose=ssl.Purpose.SERVER_AUTH,
|
/external/python/cpython3/Lib/ |
D | ssl.py | 375 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/ |
D | test_ssl.py | 658 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/ |
D | test_ssl.py | 908 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/ |
D | ssl.rst | 243 .. 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/ |
D | ssl.rst | 121 .. 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/ |
D | test_events.py | 707 def _dummy_ssl_create_context(purpose=ssl.Purpose.SERVER_AUTH, *, 714 self.assertEqual(purpose, ssl.Purpose.SERVER_AUTH)
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 210 context = ssl.create_default_context(ssl.Purpose.SERVER_AUTH,
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.4.rst | 1472 (``purpose=``:data:`~ssl.Purpose.SERVER_AUTH`) for a client to use to verify a
|