Lines Matching refs:PySSLContext
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()
3198 context_clear(PySSLContext *self) in context_clear()
3213 context_dealloc(PySSLContext *self) in context_dealloc()
3232 _ssl__SSLContext_set_ciphers_impl(PySSLContext *self, const char *cipherlist) in _ssl__SSLContext_set_ciphers_impl()
3253 _ssl__SSLContext_get_ciphers_impl(PySSLContext *self) in _ssl__SSLContext_get_ciphers_impl()
3322 PySSLContext *ctx = (PySSLContext *)args; in _selectALPN_cb()
3335 _ssl__SSLContext__set_alpn_protocols_impl(PySSLContext *self, in _ssl__SSLContext__set_alpn_protocols_impl()
3360 get_verify_mode(PySSLContext *self, void *c) in get_verify_mode()
3379 set_verify_mode(PySSLContext *self, PyObject *arg, void *c) in set_verify_mode()
3394 get_verify_flags(PySSLContext *self, void *c) in get_verify_flags()
3405 set_verify_flags(PySSLContext *self, PyObject *arg, void *c) in set_verify_flags()
3433 set_min_max_proto_version(PySSLContext *self, PyObject *arg, int what) in set_min_max_proto_version()
3519 get_minimum_version(PySSLContext *self, void *c) in get_minimum_version()
3529 set_minimum_version(PySSLContext *self, PyObject *arg, void *c) in set_minimum_version()
3535 get_maximum_version(PySSLContext *self, void *c) in get_maximum_version()
3545 set_maximum_version(PySSLContext *self, PyObject *arg, void *c) in set_maximum_version()
3552 get_num_tickets(PySSLContext *self, void *c) in get_num_tickets()
3558 set_num_tickets(PySSLContext *self, PyObject *arg, void *c) in set_num_tickets()
3584 get_security_level(PySSLContext *self, void *c) in get_security_level()
3591 get_options(PySSLContext *self, void *c) in get_options()
3597 set_options(PySSLContext *self, PyObject *arg, void *c) in set_options()
3626 get_host_flags(PySSLContext *self, void *c) in get_host_flags()
3632 set_host_flags(PySSLContext *self, PyObject *arg, void *c) in set_host_flags()
3647 get_check_hostname(PySSLContext *self, void *c) in get_check_hostname()
3653 set_check_hostname(PySSLContext *self, PyObject *arg, void *c) in set_check_hostname()
3670 get_post_handshake_auth(PySSLContext *self, void *c) { in get_post_handshake_auth()
3680 set_post_handshake_auth(PySSLContext *self, PyObject *arg, void *c) { in set_post_handshake_auth()
3700 get_protocol(PySSLContext *self, void *c) { in get_protocol()
3822 _ssl__SSLContext_load_cert_chain_impl(PySSLContext *self, PyObject *certfile, in _ssl__SSLContext_load_cert_chain_impl()
3923 _add_ca_certs(PySSLContext *self, const void *data, Py_ssize_t len, in _add_ca_certs()
4024 _ssl__SSLContext_load_verify_locations_impl(PySSLContext *self, in _ssl__SSLContext_load_verify_locations_impl()
4150 _ssl__SSLContext_load_dh_params(PySSLContext *self, PyObject *filepath) in _ssl__SSLContext_load_dh_params()
4195 _ssl__SSLContext__wrap_socket_impl(PySSLContext *self, PyObject *sock, in _ssl__SSLContext__wrap_socket_impl()
4232 _ssl__SSLContext__wrap_bio_impl(PySSLContext *self, PySSLMemoryBIO *incoming, in _ssl__SSLContext__wrap_bio_impl()
4261 _ssl__SSLContext_session_stats_impl(PySSLContext *self) in _ssl__SSLContext_session_stats_impl()
4305 _ssl__SSLContext_set_default_verify_paths_impl(PySSLContext *self) in _ssl__SSLContext_set_default_verify_paths_impl()
4323 _ssl__SSLContext_set_ecdh_curve(PySSLContext *self, PyObject *name) in _ssl__SSLContext_set_ecdh_curve()
4354 PySSLContext *sslctx = (PySSLContext *) args; in _servername_callback()
4455 get_sni_callback(PySSLContext *self, void *c) in get_sni_callback()
4466 set_sni_callback(PySSLContext *self, PyObject *arg, void *c) in set_sni_callback()
4512 _ssl__SSLContext_cert_store_stats_impl(PySSLContext *self) in _ssl__SSLContext_cert_store_stats_impl()
4559 _ssl__SSLContext_get_ca_certs_impl(PySSLContext *self, int binary_form) in _ssl__SSLContext_get_ca_certs_impl()
4677 .basicsize = sizeof(PySSLContext),