Home
last modified time | relevance | path

Searched refs:ONLYCERT (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/test/test_asyncio/
Dutils.py50 ONLYCERT = data_file('ssl_cert.pem') variable
75 server_context.load_cert_chain(ONLYCERT, ONLYKEY)
161 context.load_cert_chain(ONLYCERT, ONLYKEY)
Dtest_events.py908 lambda: proto, test_utils.ONLYCERT, test_utils.ONLYKEY)
941 lambda: proto, test_utils.ONLYCERT, test_utils.ONLYKEY)
/external/python/cpython2/Lib/test/
Dtest_ssl.py43 ONLYCERT = data_file("ssl_cert.pem") variable
45 BYTES_ONLYCERT = ONLYCERT.encode(sys.getfilesystemencoding())
843 ctx.load_cert_chain(ONLYCERT, ONLYKEY)
844 ctx.load_cert_chain(certfile=ONLYCERT, keyfile=ONLYKEY)
847 ctx.load_cert_chain(ONLYCERT)
851 ctx.load_cert_chain(certfile=ONLYKEY, keyfile=ONLYCERT)
861 ctx.load_cert_chain(ONLYCERT, ONLYKEY_PROTECTED, KEY_PASSWORD)
862 ctx.load_cert_chain(ONLYCERT, ONLYKEY_PROTECTED, KEY_PASSWORD.encode())
863 ctx.load_cert_chain(ONLYCERT, ONLYKEY_PROTECTED,
3176 ONLYCERT, ONLYKEY, BYTES_ONLYCERT, BYTES_ONLYKEY,
/external/python/cpython3/Lib/test/
Dtest_ssl.py66 ONLYCERT = data_file("ssl_cert.pem") variable
68 BYTES_ONLYCERT = os.fsencode(ONLYCERT)
1307 ctx.load_cert_chain(ONLYCERT, ONLYKEY)
1308 ctx.load_cert_chain(certfile=ONLYCERT, keyfile=ONLYKEY)
1311 ctx.load_cert_chain(ONLYCERT)
1315 ctx.load_cert_chain(certfile=ONLYKEY, keyfile=ONLYCERT)
1325 ctx.load_cert_chain(ONLYCERT, ONLYKEY_PROTECTED, KEY_PASSWORD)
1326 ctx.load_cert_chain(ONLYCERT, ONLYKEY_PROTECTED, KEY_PASSWORD.encode())
1327 ctx.load_cert_chain(ONLYCERT, ONLYKEY_PROTECTED,
4739 ONLYCERT, ONLYKEY, BYTES_ONLYCERT, BYTES_ONLYKEY,