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.py49 ONLYCERT = data_file('ssl_cert.pem') variable
74 server_context.load_cert_chain(ONLYCERT, ONLYKEY)
160 context.load_cert_chain(ONLYCERT, ONLYKEY)
Dtest_events.py1037 lambda: proto, test_utils.ONLYCERT, test_utils.ONLYKEY)
1070 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.py60 ONLYCERT = data_file("ssl_cert.pem") variable
62 BYTES_ONLYCERT = os.fsencode(ONLYCERT)
1225 ctx.load_cert_chain(ONLYCERT, ONLYKEY)
1226 ctx.load_cert_chain(certfile=ONLYCERT, keyfile=ONLYKEY)
1229 ctx.load_cert_chain(ONLYCERT)
1233 ctx.load_cert_chain(certfile=ONLYKEY, keyfile=ONLYCERT)
1243 ctx.load_cert_chain(ONLYCERT, ONLYKEY_PROTECTED, KEY_PASSWORD)
1244 ctx.load_cert_chain(ONLYCERT, ONLYKEY_PROTECTED, KEY_PASSWORD.encode())
1245 ctx.load_cert_chain(ONLYCERT, ONLYKEY_PROTECTED,
4460 ONLYCERT, ONLYKEY, BYTES_ONLYCERT, BYTES_ONLYKEY,