Home
last modified time | relevance | path

Searched refs:cert_file (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython2/Lib/test/
Dmake_ssl_certs.py97 req_file, cert_file, key_file = tempnames
112 args += ['-x509', '-out', cert_file ]
116 args = ['ca', '-config', req_file, '-out', cert_file, '-outdir', 'cadir',
121 with open(cert_file, 'r') as f:
/external/python/cpython3/Lib/test/
Dmake_ssl_certs.py117 req_file, cert_file, key_file = tempnames
133 args += ['-x509', '-out', cert_file ]
141 '-out', cert_file,
149 with open(cert_file, 'r') as f:
/external/python/httplib2/tests/
Dtest_external.py50 assert http.connections["https:bitworking.org"].cert_file == "acertfile"
59 assert http.connections["https:notthere.bitworking.org"].cert_file is None
D__init__.py195 cert_file=None, argument
234 cert_file=None, argument
/external/python/cpython2/Lib/
Dhttplib.py1239 def __init__(self, host, port=None, key_file=None, cert_file=None, argument
1245 self.cert_file = cert_file
1248 if key_file or cert_file:
1249 context.load_cert_chain(cert_file, key_file)
1277 def __init__(self, host='', port=None, key_file=None, cert_file=None, argument
1285 cert_file, strict,
1291 self.cert_file = cert_file
Durllib.py139 self.cert_file = x509.get('cert_file')
430 cert_file=self.cert_file,
/external/python/httplib2/python2/httplib2/
D__init__.py79 sock, key_file, cert_file, disable_validation, ca_certs, ssl_version, hostname argument
92 if cert_file:
93 context.load_cert_chain(cert_file, key_file)
101 certfile=cert_file,
109 sock, key_file, cert_file, disable_validation, ca_certs, ssl_version, hostname argument
117 ssl_sock = socket.ssl(sock, key_file, cert_file)
1249 cert_file=None, argument
1258 self, host, port=port, key_file=key_file, cert_file=cert_file, strict=strict
1364 self.cert_file,
1486 cert_file=None, argument
[all …]
/external/python/cpython3/Lib/http/
Dclient.py1352 def __init__(self, host, port=None, key_file=None, cert_file=None, argument
1359 if (key_file is not None or cert_file is not None or
1366 self.cert_file = cert_file
1375 if key_file or cert_file:
1376 context.load_cert_chain(cert_file, key_file)
/external/curl/lib/vtls/
Dopenssl.c614 char *cert_file, in cert_stuff() argument
626 if(cert_file || (file_type == SSL_FILETYPE_ENGINE)) { in cert_stuff()
643 cert_file) != 1) { in cert_stuff()
659 cert_file, in cert_stuff()
676 if(is_pkcs11_uri(cert_file)) { in cert_stuff()
690 params.cert_id = cert_file; in cert_stuff()
704 " '%s' [%s]", cert_file, in cert_stuff()
751 if(BIO_read_filename(fp, cert_file) <= 0) { in cert_stuff()
752 failf(data, "could not open PKCS12 file '%s'", cert_file); in cert_stuff()
760 failf(data, "error reading PKCS12 file '%s'", cert_file); in cert_stuff()
[all …]
Dnss.c708 char *cert_file, char *key_file) in cert_stuff() argument
713 if(cert_file) { in cert_stuff()
714 result = nss_load_cert(&conn->ssl[sockindex], cert_file, PR_FALSE); in cert_stuff()
717 if(!display_error(conn, err, cert_file)) { in cert_stuff()
726 if(key_file || (is_file(cert_file))) { in cert_stuff()
731 result = nss_load_key(conn, sockindex, cert_file); in cert_stuff()
/external/python/httplib2/python3/httplib2/
D__init__.py178 disable_ssl_certificate_validation, ca_certs, cert_file=None, key_file=None argument
196 if cert_file:
197 context.load_cert_chain(cert_file, key_file)
1224 cert_file=None, argument
1239 self.disable_ssl_certificate_validation, self.ca_certs, cert_file, key_file
1245 cert_file=cert_file,
1751 cert_file=certs[0][1],
/external/boringssl/src/ssl/test/
Dtest_config.h38 std::string cert_file; member
Dtest_config.cc158 { "-cert-file", &TestConfig::cert_file },
741 if (!config->cert_file.empty() && in GetCertificate()
742 !LoadCertificate(out_x509, out_chain, config->cert_file.c_str())) { in GetCertificate()
/external/python/httplib2/python2/
Dhttplib2test.py180 cert_file=None, argument
218 cert_file=None, argument
652 http.connections["https:bitworking.org"].cert_file, "acertfile"
663 http.connections["https:notthere.bitworking.org"].cert_file, None
/external/python/httplib2/python3/
Dhttplib2test.py172 cert_file=None, argument
210 cert_file=None, argument
593 http.connections["https:bitworking.org"].cert_file, "acertfile"
606 http.connections["https:notthere.bitworking.org"].cert_file, None
/external/python/cpython2/Doc/library/
Dhttplib.rst78 .. class:: HTTPSConnection(host[, port[, key_file[, cert_file[, strict[, timeout[, source_address[,…
84 *key_file* and *cert_file* are deprecated, please use
Durllib.rst346 *key_file* and *cert_file* are supported to provide an SSL key and certificate;
/external/python/cpython3/Doc/library/
Dhttp.client.rst69 cert_file=None[, timeout], \
99 *key_file* and *cert_file* are deprecated in favor of *context*.
Durllib.request.rst1404 *key_file* and *cert_file* are supported to provide an SSL key and certificate;
/external/python/cpython3/Lib/urllib/
Drequest.py1685 self.cert_file = x509.get('cert_file')
1961 cert_file=self.cert_file)