Searched refs:CERTFILE (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 41 CERTFILE = data_file("keycert.pem") variable 42 BYTES_CERTFILE = CERTFILE.encode(sys.getfilesystemencoding()) 187 p = ssl._ssl._test_decode_cert(CERTFILE) 351 ssl.wrap_socket, sock, keyfile=CERTFILE) 358 with closing(ssl.wrap_socket(sock, server_side=True, certfile=CERTFILE)) as s: 368 certfile=CERTFILE, keyfile=NONEXISTINGCERT) 555 with closing(ssl.wrap_socket(s, server_side=True, certfile=CERTFILE)) as ss: 565 env["SSL_CERT_FILE"] = CERTFILE 567 self.assertEqual(paths.cafile, CERTFILE) 823 ctx.load_cert_chain(CERTFILE, keyfile=None) [all …]
|
D | test_imaplib.py | 21 CERTFILE = None variable 45 certfile=CERTFILE) 238 global CERTFILE 239 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, 241 if not os.path.exists(CERTFILE):
|
D | ssl_servers.py | 17 CERTFILE = os.path.join(here, 'keycert.pem') variable 150 def make_https_server(case, context=None, certfile=CERTFILE, 198 context.load_cert_chain(CERTFILE)
|
D | test_ftplib.py | 265 CERTFILE = os.path.join(os.path.dirname(__file__), "keycert3.pem") variable 276 certfile=CERTFILE, server_side=True, 709 self.assertRaises(ValueError, ftplib.FTP_TLS, keyfile=CERTFILE, 711 self.assertRaises(ValueError, ftplib.FTP_TLS, certfile=CERTFILE, 713 self.assertRaises(ValueError, ftplib.FTP_TLS, certfile=CERTFILE, 714 keyfile=CERTFILE, context=ctx)
|
D | test_poplib.py | 232 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, "keycert.pem") variable 238 self.socket = ssl.wrap_socket(self.socket, certfile=CERTFILE,
|