Home
last modified time | relevance | path

Searched refs:cadata (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Lib/
Dssl.py404 self.load_verify_locations(cadata=certs)
417 capath=None, cadata=None): argument
455 if cafile or capath or cadata:
456 context.load_verify_locations(cafile, capath, cadata)
467 cafile=None, capath=None, cadata=None): argument
495 if cafile or capath or cadata:
496 context.load_verify_locations(cafile, capath, cadata)
/external/python/cpython3/Lib/
Dssl.py566 self.load_verify_locations(cadata=certs)
724 capath=None, cadata=None): argument
744 if cafile or capath or cadata:
745 context.load_verify_locations(cafile, capath, cadata)
761 cafile=None, capath=None, cadata=None): argument
790 if cafile or capath or cadata:
791 context.load_verify_locations(cafile, capath, cadata)
/external/python/cpython2/Lib/test/
Dtest_ssl.py945 ctx.load_verify_locations(cadata=cacert_pem)
947 ctx.load_verify_locations(cadata=neuronio_pem)
950 ctx.load_verify_locations(cadata=neuronio_pem)
956 ctx.load_verify_locations(cadata=combined)
963 ctx.load_verify_locations(cadata="\n".join(combined))
968 ctx.load_verify_locations(cadata=cacert_der)
969 ctx.load_verify_locations(cadata=neuronio_der)
972 ctx.load_verify_locations(cadata=cacert_der)
978 ctx.load_verify_locations(cadata=combined)
983 self.assertRaises(TypeError, ctx.load_verify_locations, cadata=object)
[all …]
/external/python/cpython3/Modules/clinic/
D_ssl.c.h611 PyObject *cadata);
623 PyObject *cadata = Py_None; in _ssl__SSLContext_load_verify_locations() local
644 cadata = args[2]; in _ssl__SSLContext_load_verify_locations()
646 return_value = _ssl__SSLContext_load_verify_locations_impl(self, cafile, capath, cadata); in _ssl__SSLContext_load_verify_locations()
/external/python/cpython3/Lib/test/
Dtest_ssl.py1406 ctx.load_verify_locations(cadata=cacert_pem)
1408 ctx.load_verify_locations(cadata=neuronio_pem)
1411 ctx.load_verify_locations(cadata=neuronio_pem)
1417 ctx.load_verify_locations(cadata=combined)
1424 ctx.load_verify_locations(cadata="\n".join(combined))
1429 ctx.load_verify_locations(cadata=cacert_der)
1430 ctx.load_verify_locations(cadata=neuronio_der)
1433 ctx.load_verify_locations(cadata=cacert_der)
1439 ctx.load_verify_locations(cadata=combined)
1444 self.assertRaises(TypeError, ctx.load_verify_locations, cadata=object)
[all …]
/external/llvm-project/llvm/test/CodeGen/X86/
D2009-07-16-CoalescerBug.ll5 …%struct.cadata = type <{ i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i32, i32, %struct.…
13 define i32 @addmatches(%struct.cadata* %dat, i8** nocapture %argv) nounwind ssp {
/external/llvm/test/CodeGen/X86/
D2009-07-16-CoalescerBug.ll5 …%struct.cadata = type <{ i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i32, i32, %struct.…
13 define i32 @addmatches(%struct.cadata* %dat, i8** nocapture %argv) nounwind ssp {
/external/python/cpython2/Modules/
D_ssl.c2917 PyObject *cadata = NULL, *cafile = NULL, *capath = NULL; in load_verify_locations() local
2925 &cafile, &capath, &cadata)) in load_verify_locations()
2932 if (cadata == Py_None) in load_verify_locations()
2933 cadata = NULL; in load_verify_locations()
2935 if (cafile == NULL && capath == NULL && cadata == NULL) { in load_verify_locations()
2973 if (cadata) { in load_verify_locations()
2977 if (!PyUnicode_Check(cadata) && PyObject_GetBuffer(cadata, &buf, PyBUF_SIMPLE) == 0) { in load_verify_locations()
2992 cadata_ascii = PyUnicode_AsASCIIString(cadata); in load_verify_locations()
/external/python/cpython3/Modules/
D_ssl.c4166 PyObject *cadata) in _ssl__SSLContext_load_verify_locations_impl() argument
4178 if (cadata == Py_None) in _ssl__SSLContext_load_verify_locations_impl()
4179 cadata = NULL; in _ssl__SSLContext_load_verify_locations_impl()
4181 if (cafile == NULL && capath == NULL && cadata == NULL) { in _ssl__SSLContext_load_verify_locations_impl()
4202 if (cadata) { in _ssl__SSLContext_load_verify_locations_impl()
4203 if (PyUnicode_Check(cadata)) { in _ssl__SSLContext_load_verify_locations_impl()
4204 PyObject *cadata_ascii = PyUnicode_AsASCIIString(cadata); in _ssl__SSLContext_load_verify_locations_impl()
4220 else if (PyObject_CheckBuffer(cadata)) { in _ssl__SSLContext_load_verify_locations_impl()
4222 if (PyObject_GetBuffer(cadata, &buf, PyBUF_SIMPLE)) { in _ssl__SSLContext_load_verify_locations_impl()
/external/python/cpython2/Doc/library/
Dssl.rst243 .. function:: create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None, capath=None, cadata=…
250 *cafile*, *capath*, *cadata* represent optional CA certificates to
261 *cadata* is given) or uses :meth:`SSLContext.load_default_certs` to load
1122 .. method:: SSLContext.load_verify_locations(cafile=None, capath=None, cadata=None)
1142 The *cadata* object, if present, is either an ASCII string of one or more
/external/python/cpython3/Doc/library/
Dssl.rst121 .. function:: create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None, capath=None, cadata=…
128 *cafile*, *capath*, *cadata* represent optional CA certificates to
139 *cadata* is given) or uses :meth:`SSLContext.load_default_certs` to load
1529 .. method:: SSLContext.load_verify_locations(cafile=None, capath=None, cadata=None)
1549 The *cadata* object, if present, is either an ASCII string of one or more
1555 New optional argument *cadata*
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py583 cadata=None): argument
/external/python/cpython3/Doc/whatsnew/
D3.4.rst1442 accepts a new optional argument *cadata*, which can be used to provide PEM or
/external/python/cpython3/Misc/
DHISTORY3355 - Issue #18138: Implement cadata argument of SSLContext.load_verify_location()