Searched refs:PySSLContext (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Modules/clinic/ |
D | _ssl.c.h | 437 _ssl__SSLContext_set_ciphers_impl(PySSLContext *self, const char *cipherlist); 440 _ssl__SSLContext_set_ciphers(PySSLContext *self, PyObject *arg) in _ssl__SSLContext_set_ciphers() 473 _ssl__SSLContext_get_ciphers_impl(PySSLContext *self); 476 _ssl__SSLContext_get_ciphers(PySSLContext *self, PyObject *Py_UNUSED(ignored)) in _ssl__SSLContext_get_ciphers() 490 _ssl__SSLContext__set_alpn_protocols_impl(PySSLContext *self, 494 _ssl__SSLContext__set_alpn_protocols(PySSLContext *self, PyObject *arg) in _ssl__SSLContext__set_alpn_protocols() 526 _ssl__SSLContext_load_cert_chain_impl(PySSLContext *self, PyObject *certfile, 530 _ssl__SSLContext_load_cert_chain(PySSLContext *self, PyObject *const *args, Py_ssize_t nargs, PyObj… in _ssl__SSLContext_load_cert_chain() 572 _ssl__SSLContext_load_verify_locations_impl(PySSLContext *self, 578 _ssl__SSLContext_load_verify_locations(PySSLContext *self, PyObject *const *args, Py_ssize_t nargs,… in _ssl__SSLContext_load_verify_locations() [all …]
|
/external/python/cpython3/Modules/_ssl/ |
D | debughelpers.c | 88 _PySSLContext_get_msg_callback(PySSLContext *self, void *c) { in _PySSLContext_get_msg_callback() 98 _PySSLContext_set_msg_callback(PySSLContext *self, PyObject *arg, void *c) { in _PySSLContext_set_msg_callback() 167 _PySSLContext_get_keylog_filename(PySSLContext *self, void *c) { in _PySSLContext_get_keylog_filename() 177 _PySSLContext_set_keylog_filename(PySSLContext *self, PyObject *arg, void *c) { in _PySSLContext_set_keylog_filename()
|
/external/python/cpython2/Modules/ |
D | _ssl.c | 326 } PySSLContext; typedef 333 PySSLContext *ctx; /* weakref to SSL context */ 572 newPySSLSocket(PySSLContext *sslctx, PySocketSockObject *sock, in newPySSLSocket() 1636 static PySSLContext *PySSL_get_context(PySSLSocket *self, void *closure) { in PySSL_get_context() 1651 Py_SETREF(self->ctx, (PySSLContext *)value); in PySSL_set_context() 2177 PySSLContext *self; in context_new() 2221 self = (PySSLContext *) type->tp_alloc(type, 0); in context_new() 2281 context_traverse(PySSLContext *self, visitproc visit, void *arg) in context_traverse() 2290 context_clear(PySSLContext *self) in context_clear() 2299 context_dealloc(PySSLContext *self) in context_dealloc() [all …]
|
/external/python/cpython3/Modules/ |
D | _ssl.c | 298 } PySSLContext; typedef 312 PySSLContext *ctx; /* weakref to SSL context */ 336 PySSLContext *ctx; 780 newPySSLSocket(PySSLContext *sslctx, PySocketSockObject *sock, in newPySSLSocket() 2113 static PySSLContext *PySSL_get_context(PySSLSocket *self, void *closure) { in PySSL_get_context() 2123 Py_SETREF(self->ctx, (PySSLContext *)value); in PySSL_set_context() 2949 _set_verify_mode(PySSLContext *self, enum py_ssl_cert_requirements n) in _set_verify_mode() 2990 PySSLContext *self; in _ssl__SSLContext_impl() 3068 self = (PySSLContext *) type->tp_alloc(type, 0); in _ssl__SSLContext_impl() 3189 context_traverse(PySSLContext *self, visitproc visit, void *arg) in context_traverse() [all …]
|
D | _ssl.h | 46 #define get_state_ctx(c) (((PySSLContext *)(c))->state)
|