Searched refs:KEY_PASSWORD (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 49 KEY_PASSWORD = "somepass" variable 857 ctx.load_cert_chain(CERTFILE_PROTECTED, password=KEY_PASSWORD) 858 ctx.load_cert_chain(CERTFILE_PROTECTED, password=KEY_PASSWORD.encode()) 860 password=bytearray(KEY_PASSWORD.encode())) 861 ctx.load_cert_chain(ONLYCERT, ONLYKEY_PROTECTED, KEY_PASSWORD) 862 ctx.load_cert_chain(ONLYCERT, ONLYKEY_PROTECTED, KEY_PASSWORD.encode()) 864 bytearray(KEY_PASSWORD.encode())) 876 return KEY_PASSWORD 878 return KEY_PASSWORD.encode() 880 return bytearray(KEY_PASSWORD.encode()) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_ssl.py | 79 KEY_PASSWORD = "somepass" variable 1383 ctx.load_cert_chain(CERTFILE_PROTECTED, password=KEY_PASSWORD) 1384 ctx.load_cert_chain(CERTFILE_PROTECTED, password=KEY_PASSWORD.encode()) 1386 password=bytearray(KEY_PASSWORD.encode())) 1387 ctx.load_cert_chain(ONLYCERT, ONLYKEY_PROTECTED, KEY_PASSWORD) 1388 ctx.load_cert_chain(ONLYCERT, ONLYKEY_PROTECTED, KEY_PASSWORD.encode()) 1390 bytearray(KEY_PASSWORD.encode())) 1402 return KEY_PASSWORD 1404 return KEY_PASSWORD.encode() 1406 return bytearray(KEY_PASSWORD.encode()) [all …]
|