Home | History | Annotate | Download | only in Modules

Lines Matching defs:PySSLContext

326 } PySSLContext;
333 PySSLContext *ctx; /* weakref to SSL context */
572 newPySSLSocket(PySSLContext *sslctx, PySocketSockObject *sock,
1636 static PySSLContext *PySSL_get_context(PySSLSocket *self, void *closure) {
1651 Py_SETREF(self->ctx, (PySSLContext *)value);
2177 PySSLContext *self;
2221 self = (PySSLContext *) type->tp_alloc(type, 0);
2281 context_traverse(PySSLContext *self, visitproc visit, void *arg)
2290 context_clear(PySSLContext *self)
2299 context_dealloc(PySSLContext *self)
2315 set_ciphers(PySSLContext *self, PyObject *args)
2368 PySSLContext *ssl_ctx = (PySSLContext *) args;
2387 PySSLContext *ctx = (PySSLContext *)args;
2394 _set_npn_protocols(PySSLContext *self, PyObject *args)
2439 PySSLContext *ctx = (PySSLContext *)args;
2447 _set_alpn_protocols(PySSLContext *self, PyObject *args)
2477 get_verify_mode(PySSLContext *self, void *c)
2493 set_verify_mode(PySSLContext *self, PyObject *arg, void *c)
2521 get_verify_flags(PySSLContext *self, void *c)
2534 set_verify_flags(PySSLContext *self, PyObject *arg, void *c)
2564 get_options(PySSLContext *self, void *c)
2570 set_options(PySSLContext *self, PyObject *arg, void *c)
2593 get_check_hostname(PySSLContext *self, void *c)
2599 set_check_hostname(PySSLContext *self, PyObject *arg, void *c)
2724 load_cert_chain(PySSLContext *self, PyObject *args, PyObject *kwds)
2830 _add_ca_certs(PySSLContext *self, void *data, Py_ssize_t len,
2914 load_verify_locations(PySSLContext *self, PyObject *args, PyObject *kwds)
3049 load_dh_params(PySSLContext *self, PyObject *filepath)
3099 context_wrap_socket(PySSLContext *self, PyObject *args, PyObject *kwds)
3130 session_stats(PySSLContext *self, PyObject *unused)
3169 set_default_verify_paths(PySSLContext *self, PyObject *unused)
3180 set_ecdh_curve(PySSLContext *self, PyObject *name)
3216 PySSLContext *ssl_ctx = (PySSLContext *) args;
3319 set_servername_callback(PySSLContext *self, PyObject *args)
3363 cert_store_stats(PySSLContext *self)
3404 get_ca_certs(PySSLContext *self, PyObject *args, PyObject *kwds)
3513 sizeof(PySSLContext), /*tp_basicsize*/