Home
last modified time | relevance | path

Searched refs:cert_file (Results 1 – 25 of 25) 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:
Dtest_httplib.py1834 cert_file=CERT_localhost)
/external/openscreen/cast/receiver/channel/
Dstatic_credentials.cc164 FileUniquePtr cert_file(fopen(kGeneratedRootCertificateName, "w"), &fclose); in GenerateDeveloperCredentialsToFile() local
165 if (PEM_write_X509(cert_file.get(), root_cert.get()) != 1) { in GenerateDeveloperCredentialsToFile()
199 FileUniquePtr cert_file(fopen(server_certificate_path.c_str(), "r"), &fclose); in GenerateCredentials() local
200 if (!cert_file) { in GenerateCredentials()
205 cert_file.get(), nullptr /* x */, nullptr /* cb */, nullptr /* u */)); in GenerateCredentials()
/external/python/httplib2/python2/httplib2/
D__init__.py79 sock, key_file, cert_file, disable_validation, ca_certs, ssl_version, hostname, key_password argument
92 if cert_file:
94 context.load_cert_chain(cert_file, key_file, key_password)
96 context.load_cert_chain(cert_file, key_file)
106 certfile=cert_file,
114 sock, key_file, cert_file, disable_validation, ca_certs, ssl_version, hostname, key_password argument
124 ssl_sock = socket.ssl(sock, key_file, cert_file)
1269 cert_file=None, argument
1280 self._context.load_cert_chain(cert_file, key_file, key_password)
1282 self.cert_file = cert_file
[all …]
/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/cpython3/Lib/http/
Dclient.py1378 def __init__(self, host, port=None, key_file=None, cert_file=None, argument
1385 if (key_file is not None or cert_file is not None or
1392 self.cert_file = cert_file
1404 if key_file or cert_file:
1405 context.load_cert_chain(cert_file, key_file)
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dwebpagereplay_go_server.py212 cert_file = os.path.join(_WPR_DIR, 'wpr_cert.pem')
218 '--https_cert_file=%s' % cert_file])
/external/curl/lib/vtls/
Dopenssl.c697 char *cert_file, in cert_stuff() argument
711 if(cert_file || cert_bio || (file_type == SSL_FILETYPE_ENGINE)) { in cert_stuff()
730 SSL_CTX_use_certificate_chain_file(ctx, cert_file); in cert_stuff()
750 SSL_CTX_use_certificate_file(ctx, cert_file, file_type); in cert_stuff()
767 if(is_pkcs11_uri(cert_file)) { in cert_stuff()
781 params.cert_id = cert_file; in cert_stuff()
795 " '%s' [%s]", cert_file, in cert_stuff()
842 if(BIO_read_filename(fp, cert_file) <= 0) { in cert_stuff()
843 failf(data, "could not open PKCS12 file '%s'", cert_file); in cert_stuff()
855 cert_bio ? "(memory blob)" : cert_file); in cert_stuff()
[all …]
Dnss.c721 char *cert_file, char *key_file) in cert_stuff() argument
726 if(cert_file) { in cert_stuff()
727 result = nss_load_cert(&conn->ssl[sockindex], cert_file, PR_FALSE); in cert_stuff()
730 if(!display_error(conn, err, cert_file)) { in cert_stuff()
739 if(key_file || (is_file(cert_file))) { in cert_stuff()
744 result = nss_load_key(conn, sockindex, cert_file); in cert_stuff()
/external/python/httplib2/python3/httplib2/
D__init__.py184 disable_ssl_certificate_validation, ca_certs, cert_file=None, key_file=None, argument
216 if cert_file:
217 context.load_cert_chain(cert_file, key_file, key_password)
1253 cert_file=None, argument
1271 self.disable_ssl_certificate_validation, self.ca_certs, cert_file, key_file,
1282 self.cert_file = cert_file
1810 cert_file=certs[0][1],
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/
Dtest_config.h39 std::string cert_file; member
Dtest_config.cc160 {"-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/boringssl/src/ssl/test/
Dtest_config.h40 std::string cert_file; member
Dtest_config.cc161 {"-cert-file", &TestConfig::cert_file},
806 if (!config->cert_file.empty() && in GetCertificate()
807 !LoadCertificate(out_x509, out_chain, config->cert_file.c_str())) { in GetCertificate()
/external/python/httplib2/tests/
D__init__.py208 cert_file=None, argument
247 cert_file=None, argument
/external/python/cpython3/Doc/library/
Dhttp.client.rst69 cert_file=None[, timeout], \
100 when *cert_file* is passed with a custom *context*.
104 *key_file* and *cert_file* are deprecated in favor of *context*.
Durllib.request.rst1423 *key_file* and *cert_file* are supported to provide an SSL key and certificate;
/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/Lib/urllib/
Drequest.py1711 self.cert_file = x509.get('cert_file')
1987 cert_file=self.cert_file)
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a1.rst2722 context or if a cert_file is passed to HTTPSConnection.