Home
last modified time | relevance | path

Searched refs:cert_file (Results 1 – 10 of 10) 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/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/curl/lib/vtls/
Dopenssl.c331 char *cert_file, in cert_stuff() argument
341 if(cert_file || (file_type == SSL_FILETYPE_ENGINE)) { in cert_stuff()
358 cert_file) != 1) { in cert_stuff()
373 cert_file, in cert_stuff()
393 params.cert_id = cert_file; in cert_stuff()
407 " '%s' [%s]", cert_file, in cert_stuff()
444 f = fopen(cert_file, "rb"); in cert_stuff()
446 failf(data, "could not open PKCS12 file '%s'", cert_file); in cert_stuff()
453 failf(data, "error reading PKCS12 file '%s'", cert_file); in cert_stuff()
481 cert_file); in cert_stuff()
[all …]
Dnss.c628 char *cert_file, char *key_file) in cert_stuff() argument
633 if(cert_file) { in cert_stuff()
634 result = nss_load_cert(&conn->ssl[sockindex], cert_file, PR_FALSE); in cert_stuff()
637 if(!display_error(conn, err, cert_file)) { in cert_stuff()
646 if(key_file || (is_file(cert_file))) { in cert_stuff()
651 result = nss_load_key(conn, sockindex, cert_file); in cert_stuff()
/external/boringssl/src/ssl/test/
Dtest_config.h33 std::string cert_file; member
Dtest_config.cc138 { "-cert-file", &TestConfig::cert_file },
Dbssl_shim.cc487 if (!config->cert_file.empty() && in GetCertificate()
488 !LoadCertificate(out_x509, out_chain, config->cert_file.c_str())) { in GetCertificate()
/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;