Home
last modified time | relevance | path

Searched refs:ca_certs (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython2/Lib/
Dssl.py537 ssl_version=PROTOCOL_TLS, ca_certs=None, argument
557 if ca_certs:
558 self._context.load_verify_locations(ca_certs)
569 self.ca_certs = ca_certs
939 ssl_version=PROTOCOL_TLS, ca_certs=None, argument
946 ssl_version=ssl_version, ca_certs=ca_certs,
1008 def get_server_certificate(addr, ssl_version=PROTOCOL_TLS, ca_certs=None): argument
1015 if ca_certs is not None:
1021 cafile=ca_certs)
/external/python/httplib2/python2/httplib2/
D__init__.py79 sock, key_file, cert_file, disable_validation, ca_certs, ssl_version, hostname argument
94 if ca_certs:
95 context.load_verify_locations(ca_certs)
103 ca_certs=ca_certs,
109 sock, key_file, cert_file, disable_validation, ca_certs, ssl_version, hostname argument
1253 ca_certs=None, argument
1262 if ca_certs is None:
1263 ca_certs = CA_CERTS
1264 self.ca_certs = ca_certs
1366 self.ca_certs,
[all …]
/external/python/httplib2/python2/
Dssl_protocol_test.py13 http = httplib2.Http(ca_certs="/nosuchfile")
29 http = httplib2.Http(ca_certs=other_ca_certs)
/external/python/httplib2/tests/
Dtest_external.py68 http = httplib2.Http(ca_certs="/nosuchfile")
89 http = httplib2.Http(ca_certs=other_ca_certs)
/external/boringssl/src/crypto/pkcs8/
Dpkcs8_x509.c881 STACK_OF(X509) *ca_certs = NULL; in PKCS12_parse()
885 ca_certs = *out_ca_certs; in PKCS12_parse()
888 if (!ca_certs) { in PKCS12_parse()
889 ca_certs = sk_X509_new_null(); in PKCS12_parse()
890 if (ca_certs == NULL) { in PKCS12_parse()
898 if (!PKCS12_get_key_and_certs(out_pkey, ca_certs, &ber_bytes, password)) { in PKCS12_parse()
900 sk_X509_free(ca_certs); in PKCS12_parse()
906 if (sk_X509_num(ca_certs) > 0) { in PKCS12_parse()
907 *out_cert = sk_X509_shift(ca_certs); in PKCS12_parse()
911 *out_ca_certs = ca_certs; in PKCS12_parse()
[all …]
Dpkcs12_test.cc1206 STACK_OF(X509) *ca_certs = nullptr; in TestCompat()
1207 ASSERT_TRUE(PKCS12_parse(p12.get(), kPassword, &key, &cert, &ca_certs)); in TestCompat()
1211 bssl::UniquePtr<STACK_OF(X509)> delete_ca_certs(ca_certs); in TestCompat()
1215 ASSERT_EQ(0u, sk_X509_num(ca_certs)); in TestCompat()
/external/python/httplib2/python2/httplib2/test/
Dtest_ssl_context.py49 client = httplib2.Http(ca_certs=self.ca_certs_path)
75 http = httplib2.Http(ca_certs=self.ca_certs_path, proxy_info=None)
/external/python/httplib2/python3/httplib2/
D__init__.py178 disable_ssl_certificate_validation, ca_certs, cert_file=None, key_file=None argument
194 context.load_verify_locations(ca_certs)
1227 ca_certs=None, argument
1232 self.ca_certs = ca_certs if ca_certs else CA_CERTS
1239 self.disable_ssl_certificate_validation, self.ca_certs, cert_file, key_file
1385 ca_certs=None, argument
1412 self.ca_certs = ca_certs
1754 ca_certs=self.ca_certs,
1762 ca_certs=self.ca_certs,
/external/python/cpython3/Lib/
Dssl.py1201 ssl_version=PROTOCOL_TLS, ca_certs=None, argument
1213 if ca_certs:
1214 context.load_verify_locations(ca_certs)
1283 def get_server_certificate(addr, ssl_version=PROTOCOL_TLS, ca_certs=None): argument
1290 if ca_certs is not None:
1296 cafile=ca_certs)
/external/python/setuptools/setuptools/
Dssl_support.py195 sock, cert_reqs=ssl.CERT_REQUIRED, ca_certs=self.ca_bundle
/external/python/cpython2/Lib/test/
Dtest_ssl.py1360 ca_certs=REMOTE_ROOT_CERT)
1372 ca_certs=REMOTE_ROOT_CERT)
1385 ca_certs=REMOTE_ROOT_CERT,
1414 ca_certs=REMOTE_ROOT_CERT,
1429 ca_certs=REMOTE_ROOT_CERT)
1575 ca_certs=CERTFILE)
1583 ca_certs=cert)
2552 ca_certs=CERTFILE,
2857 ca_certs=CERTFILE,
2882 ca_certs=CERTFILE,
/external/scapy/scapy/layers/tls/
Dcert.py916 ca_certs = f.read()
921 anchors = [Cert(c) for c in split_pem(ca_certs)]
/external/python/cpython3/Lib/test/
Dtest_ssl.py217 cert_reqs=ssl.CERT_NONE, ca_certs=None, argument
225 if ca_certs is not None:
226 context.load_verify_locations(ca_certs)
1845 ca_certs=SIGNING_CA) as s:
1864 ca_certs=SIGNING_CA)
1874 ca_certs=SIGNING_CA,
2174 pem = ssl.get_server_certificate((host, port), ca_certs=cert)
2182 pem = ssl.get_server_certificate((host, port), ca_certs=CERTFILE)
3360 ca_certs=CERTFILE,
3513 ca_certs=CERTFILE,
/external/python/httplib2/doc/html/_sources/
Dlibhttplib2.txt196 .. class:: Http([cache=None], [timeout=None], [proxy_info==ProxyInfo.from_environment], [ca_certs=N…
201 is the socket level timeout. The *ca_certs* parameter is the filename of the
/external/python/httplib2/doc/
Dlibhttplib2.rst196 .. class:: Http([cache=None], [timeout=None], [proxy_info==ProxyInfo.from_environment], [ca_certs=N…
201 is the socket level timeout. The *ca_certs* parameter is the filename of the
/external/python/cpython2/Doc/library/
Dssl.rst144 …e=None, server_side=False, cert_reqs=CERT_NONE, ssl_version={see docs}, ca_certs=None, do_handshak…
172 value of this parameter is not :const:`CERT_NONE`, then the ``ca_certs``
175 The ``ca_certs`` file contains a set of concatenated "certification
431 .. function:: get_server_certificate(addr, ssl_version=PROTOCOL_SSLv23, ca_certs=None)
436 the SSL protocol to attempt to connect to the server. If ``ca_certs`` is
539 value of the ``ca_certs`` parameter to :func:`wrap_socket`.
550 value of the ``ca_certs`` parameter to :func:`wrap_socket`.
/external/python/httplib2/
DCHANGELOG14 ca_certs from environment HTTPLIB2_CA_CERTS or certifi
/external/python/httplib2/python3/
Dhttplib2test.py615 http = httplib2.Http(ca_certs="/nosuchfile")
627 http = httplib2.Http(ca_certs=other_ca_certs)
/external/python/cpython3/Doc/library/
Dssl.rst420 .. function:: get_server_certificate(addr, ssl_version=PROTOCOL_TLS, ca_certs=None)
425 the SSL protocol to attempt to connect to the server. If ``ca_certs`` is
508 ca_certs=None, do_handshake_on_connect=True, \
518 parameters *keyfile*, *certfile*, *ca_certs* or *ciphers* are set, then
569 value of the ``ca_certs`` parameter to :func:`wrap_socket`.
589 value of the ``ca_certs`` parameter to :func:`wrap_socket`.