Home
last modified time | relevance | path

Searched refs:cert_file (Results 1 – 15 of 15) 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.py96 req_file, cert_file, key_file = tempnames
111 args += ['-x509', '-out', cert_file ]
115 args = ['ca', '-config', req_file, '-out', cert_file, '-outdir', 'cadir',
120 with open(cert_file, 'r') as f:
/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.py1362 def __init__(self, host, port=None, key_file=None, cert_file=None, argument
1368 if (key_file is not None or cert_file is not None or
1375 self.cert_file = cert_file
1384 if key_file or cert_file:
1385 context.load_cert_chain(cert_file, key_file)
/external/curl/lib/vtls/
Dopenssl.c540 char *cert_file, in cert_stuff() argument
552 if(cert_file || (file_type == SSL_FILETYPE_ENGINE)) { in cert_stuff()
569 cert_file) != 1) { in cert_stuff()
585 cert_file, in cert_stuff()
606 params.cert_id = cert_file; in cert_stuff()
620 " '%s' [%s]", cert_file, in cert_stuff()
657 f = fopen(cert_file, "rb"); in cert_stuff()
659 failf(data, "could not open PKCS12 file '%s'", cert_file); in cert_stuff()
666 failf(data, "error reading PKCS12 file '%s'", cert_file); in cert_stuff()
696 cert_file); in cert_stuff()
[all …]
Dnss.c667 char *cert_file, char *key_file) in cert_stuff() argument
672 if(cert_file) { in cert_stuff()
673 result = nss_load_cert(&conn->ssl[sockindex], cert_file, PR_FALSE); in cert_stuff()
676 if(!display_error(conn, err, cert_file)) { in cert_stuff()
685 if(key_file || (is_file(cert_file))) { in cert_stuff()
690 result = nss_load_key(conn, sockindex, cert_file); in cert_stuff()
/external/boringssl/src/ssl/test/
Dtest_config.h32 std::string cert_file; member
Dtest_config.cc140 { "-cert-file", &TestConfig::cert_file },
Dbssl_shim.cc493 if (!config->cert_file.empty() && in GetCertificate()
494 !LoadCertificate(out_x509, out_chain, config->cert_file.c_str())) { in GetCertificate()
/external/python/cpython3/Doc/library/
Dhttp.client.rst63 cert_file=None[, timeout], \
93 *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/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.rst341 *key_file* and *cert_file* are supported to provide an SSL key and certificate;
/external/python/cpython3/Lib/urllib/
Drequest.py1691 self.cert_file = x509.get('cert_file')
1968 cert_file=self.cert_file)