HomeSort by relevance Sort by last modified time
    Searched refs:CERTFILE (Results 1 - 25 of 30) sorted by null

1 2

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_imaplib.py 21 CERTFILE = None
45 certfile=CERTFILE)
225 global CERTFILE
226 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir,
228 if not os.path.exists(CERTFILE):
test_ssl.py 26 CERTFILE = None
110 p = ssl._ssl._test_decode_cert(CERTFILE, False)
322 pem = ssl.get_server_certificate(("svn.python.org", 443), ca_certs=CERTFILE)
398 certfile=self.server.certificate,
506 certfile=self.certificate,
552 def __init__(self, conn, certfile):
555 certfile=certfile,
597 def __init__(self, certfile):
598 self.certfile = certfile
    [all...]
test_poplib.py 228 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, "keycert.pem")
234 self.socket = ssl.wrap_socket(self.socket, certfile=CERTFILE,
  /external/python/cpython2/Lib/test/
test_imaplib.py 21 CERTFILE = None
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):
test_ssl.py 41 CERTFILE = data_file("keycert.pem")
42 BYTES_CERTFILE = CERTFILE.encode(sys.getfilesystemencoding())
187 p = ssl._ssl._test_decode_cert(CERTFILE)
350 "certfile must be specified",
351 ssl.wrap_socket, sock, keyfile=CERTFILE)
353 "certfile must be specified for server-side operations",
356 "certfile must be specified for server-side operations",
357 ssl.wrap_socket, sock, server_side=True, certfile="")
358 with closing(ssl.wrap_socket(sock, server_side=True, certfile=CERTFILE)) as s
    [all...]
ssl_servers.py 17 CERTFILE = os.path.join(here, 'keycert.pem')
150 def make_https_server(case, context=None, certfile=CERTFILE,
154 # We assume the certfile contains both private key and certificate
155 context.load_cert_chain(certfile)
198 context.load_cert_chain(CERTFILE)
test_ftplib.py 265 CERTFILE = os.path.join(os.path.dirname(__file__), "keycert3.pem")
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)
test_poplib.py 232 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, "keycert.pem")
238 self.socket = ssl.wrap_socket(self.socket, certfile=CERTFILE,
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_imaplib.py 21 CERTFILE = None
45 certfile=CERTFILE)
225 global CERTFILE
226 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir,
228 if not os.path.exists(CERTFILE):
test_ssl.py 26 CERTFILE = None
106 p = ssl._ssl._test_decode_cert(CERTFILE, False)
362 pem = ssl.get_server_certificate(("svn.python.org", 443), ca_certs=CERTFILE)
439 certfile=self.server.certificate,
548 certfile=self.certificate,
605 def __init__(self, conn, certfile):
608 certfile=certfile,
650 def __init__(self, certfile):
651 self.certfile = certfil
    [all...]
test_poplib.py 228 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, "keycert.pem")
234 self.socket = ssl.wrap_socket(self.socket, certfile=CERTFILE,
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_imaplib.py 21 CERTFILE = None
45 certfile=CERTFILE)
225 global CERTFILE
226 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir,
228 if not os.path.exists(CERTFILE):
test_ssl.py 26 CERTFILE = None
106 p = ssl._ssl._test_decode_cert(CERTFILE, False)
362 pem = ssl.get_server_certificate(("svn.python.org", 443), ca_certs=CERTFILE)
439 certfile=self.server.certificate,
548 certfile=self.certificate,
605 def __init__(self, conn, certfile):
608 certfile=certfile,
650 def __init__(self, certfile):
651 self.certfile = certfil
    [all...]
test_poplib.py 228 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, "keycert.pem")
234 self.socket = ssl.wrap_socket(self.socket, certfile=CERTFILE,
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_imaplib.py 21 CERTFILE = None
45 certfile=CERTFILE)
225 global CERTFILE
226 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir,
228 if not os.path.exists(CERTFILE):
test_ssl.py 26 CERTFILE = None
106 p = ssl._ssl._test_decode_cert(CERTFILE, False)
362 pem = ssl.get_server_certificate(("svn.python.org", 443), ca_certs=CERTFILE)
439 certfile=self.server.certificate,
548 certfile=self.certificate,
605 def __init__(self, conn, certfile):
608 certfile=certfile,
650 def __init__(self, certfile):
651 self.certfile = certfil
    [all...]
test_poplib.py 228 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, "keycert.pem")
234 self.socket = ssl.wrap_socket(self.socket, certfile=CERTFILE,
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_imaplib.py 21 CERTFILE = None
45 certfile=CERTFILE)
225 global CERTFILE
226 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir,
228 if not os.path.exists(CERTFILE):
test_ssl.py 26 CERTFILE = None
106 p = ssl._ssl._test_decode_cert(CERTFILE, False)
362 pem = ssl.get_server_certificate(("svn.python.org", 443), ca_certs=CERTFILE)
439 certfile=self.server.certificate,
548 certfile=self.certificate,
605 def __init__(self, conn, certfile):
608 certfile=certfile,
650 def __init__(self, certfile):
651 self.certfile = certfil
    [all...]
test_poplib.py 228 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, "keycert.pem")
234 self.socket = ssl.wrap_socket(self.socket, certfile=CERTFILE,
  /external/python/cpython3/Lib/test/
test_ssl.py 45 CERTFILE = data_file("keycert.pem")
46 BYTES_CERTFILE = os.fsencode(CERTFILE)
148 ciphers=None, certfile=None, keyfile=None,
155 if certfile is not None or keyfile is not None:
156 context.load_cert_chain(certfile, keyfile)
247 p = ssl._ssl._test_decode_cert(CERTFILE)
411 "certfile must be specified",
412 ssl.wrap_socket, sock, keyfile=CERTFILE)
414 "certfile must be specified for server-side operations",
417 "certfile must be specified for server-side operations"
    [all...]
ssl_servers.py 17 CERTFILE = os.path.join(here, 'keycert.pem')
150 def make_https_server(case, *, context=None, certfile=CERTFILE,
154 # We assume the certfile contains both private key and certificate
155 context.load_cert_chain(certfile)
198 context.load_cert_chain(CERTFILE)
test_poplib.py 25 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, "keycert3.pem")
156 context.load_cert_chain(CERTFILE)
395 self.server.port, keyfile=CERTFILE, context=ctx)
397 self.server.port, certfile=CERTFILE, context=ctx)
399 self.server.port, keyfile=CERTFILE,
400 certfile=CERTFILE, context=ctx)
test_imaplib.py 25 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, "keycert3.pem")
83 context.load_cert_chain(CERTFILE)
    [all...]
test_ftplib.py 304 CERTFILE = os.path.join(os.path.dirname(__file__), "keycert3.pem")
315 context.load_cert_chain(CERTFILE)
903 self.assertRaises(ValueError, ftplib.FTP_TLS, keyfile=CERTFILE,
905 self.assertRaises(ValueError, ftplib.FTP_TLS, certfile=CERTFILE,
907 self.assertRaises(ValueError, ftplib.FTP_TLS, certfile=CERTFILE,
908 keyfile=CERTFILE, context=ctx)
    [all...]

Completed in 540 milliseconds

1 2