Lines Matching refs:SSL_CTX

207  * function parameters used to prototype callbacks in SSL_CTX.
583 unsigned long SSL_CTX_get_options(const SSL_CTX *ctx);
585 unsigned long SSL_CTX_clear_options(SSL_CTX *ctx, unsigned long op);
587 unsigned long SSL_CTX_set_options(SSL_CTX *ctx, unsigned long op);
626 void SSL_CTX_set_msg_callback(SSL_CTX *ctx,
644 __owur int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx);
646 int SSL_CTX_SRP_CTX_free(SSL_CTX *ctx);
658 * This callback type is used inside SSL_CTX, SSL, and in the functions that
683 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx);
709 void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx,
712 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx)) (struct ssl_st *ssl,
714 void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx,
718 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx)) (struct ssl_ctx_st *ctx,
720 void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx,
726 SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx)) (struct ssl_st *ssl,
729 void SSL_CTX_set_info_callback(SSL_CTX *ctx,
731 void (*SSL_CTX_get_info_callback(SSL_CTX *ctx)) (const SSL *ssl, int type,
733 void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx,
736 int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx)) (SSL *ssl, X509 **x509,
739 __owur int SSL_CTX_set_client_cert_engine(SSL_CTX *ctx, ENGINE *e);
741 void SSL_CTX_set_cookie_generate_cb(SSL_CTX *ctx,
747 void SSL_CTX_set_cookie_verify_cb(SSL_CTX *ctx,
755 SSL_CTX *ctx,
760 SSL_CTX *ctx,
770 void SSL_CTX_set_next_protos_advertised_cb(SSL_CTX *s,
781 void SSL_CTX_set_next_proto_select_cb(SSL_CTX *s,
800 __owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos,
810 void SSL_CTX_set_alpn_select_cb(SSL_CTX *ctx,
829 void SSL_CTX_set_psk_client_callback(SSL_CTX *ctx, SSL_psk_client_cb_func cb);
836 void SSL_CTX_set_psk_server_callback(SSL_CTX *ctx, SSL_psk_server_cb_func cb);
839 __owur int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *identity_hint);
855 void SSL_CTX_set_psk_find_session_callback(SSL_CTX *ctx,
858 void SSL_CTX_set_psk_use_session_callback(SSL_CTX *ctx,
863 __owur int SSL_CTX_has_client_custom_ext(const SSL_CTX *ctx,
866 __owur int SSL_CTX_add_client_custom_ext(SSL_CTX *ctx,
874 __owur int SSL_CTX_add_server_custom_ext(SSL_CTX *ctx,
882 __owur int SSL_CTX_add_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
923 void SSL_CTX_set_keylog_callback(SSL_CTX *ctx, SSL_CTX_keylog_cb_func cb);
929 SSL_CTX_keylog_cb_func SSL_CTX_get_keylog_callback(const SSL_CTX *ctx);
931 int SSL_CTX_set_max_early_data(SSL_CTX *ctx, uint32_t max_early_data);
932 uint32_t SSL_CTX_get_max_early_data(const SSL_CTX *ctx);
935 int SSL_CTX_set_recv_max_early_data(SSL_CTX *ctx, uint32_t recv_max_early_data);
936 uint32_t SSL_CTX_get_recv_max_early_data(const SSL_CTX *ctx);
1496 __owur BIO *BIO_new_ssl(SSL_CTX *ctx, int client);
1497 __owur BIO *BIO_new_ssl_connect(SSL_CTX *ctx);
1498 __owur BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx);
1502 __owur int SSL_CTX_set_cipher_list(SSL_CTX *, const char *str);
1503 __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
1504 int SSL_CTX_up_ref(SSL_CTX *ctx);
1505 void SSL_CTX_free(SSL_CTX *);
1506 __owur long SSL_CTX_set_timeout(SSL_CTX *ctx, long t);
1507 __owur long SSL_CTX_get_timeout(const SSL_CTX *ctx);
1508 __owur X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *);
1509 void SSL_CTX_set_cert_store(SSL_CTX *, X509_STORE *);
1510 void SSL_CTX_set1_cert_store(SSL_CTX *, X509_STORE *);
1514 void SSL_CTX_flush_sessions(SSL_CTX *ctx, long tm);
1549 __owur int SSL_CTX_set_ciphersuites(SSL_CTX *ctx, const char *str);
1577 __owur int SSL_CTX_use_serverinfo(SSL_CTX *ctx, const unsigned char *serverinfo,
1579 __owur int SSL_CTX_use_serverinfo_ex(SSL_CTX *ctx, unsigned int version,
1582 __owur int SSL_CTX_use_serverinfo_file(SSL_CTX *ctx, const char *file);
1592 __owur int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file,
1595 __owur int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file,
1597 __owur int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file,
1600 __owur int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file);
1667 int SSL_CTX_add_session(SSL_CTX *ctx, SSL_SESSION *session);
1668 int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *session);
1669 __owur int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb);
1683 __owur int SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
1684 __owur int SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
1685 __owur SSL_verify_cb SSL_CTX_get_verify_callback(const SSL_CTX *ctx);
1686 void SSL_CTX_set_verify(SSL_CTX *ctx, int mode, SSL_verify_cb callback);
1687 void SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth);
1688 void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx,
1691 void SSL_CTX_set_cert_cb(SSL_CTX *c, int (*cb) (SSL *ssl, void *arg),
1694 __owur int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa);
1695 __owur int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, const unsigned char *d,
1698 __owur int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey);
1699 __owur int SSL_CTX_use_PrivateKey_ASN1(int pk, SSL_CTX *ctx,
1701 __owur int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x);
1702 __owur int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len,
1704 __owur int SSL_CTX_use_cert_and_key(SSL_CTX *ctx, X509 *x509, EVP_PKEY *privatekey,
1707 void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb);
1708 void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx, void *u);
1709 pem_password_cb *SSL_CTX_get_default_passwd_cb(SSL_CTX *ctx);
1710 void *SSL_CTX_get_default_passwd_cb_userdata(SSL_CTX *ctx);
1716 __owur int SSL_CTX_check_private_key(const SSL_CTX *ctx);
1719 __owur int SSL_CTX_set_session_id_context(SSL_CTX *ctx,
1723 SSL *SSL_new(SSL_CTX *ctx);
1729 __owur int SSL_CTX_set_purpose(SSL_CTX *ctx, int purpose);
1731 __owur int SSL_CTX_set_trust(SSL_CTX *ctx, int trust);
1739 __owur int SSL_CTX_dane_enable(SSL_CTX *ctx);
1740 __owur int SSL_CTX_dane_mtype_set(SSL_CTX *ctx, const EVP_MD *md,
1757 unsigned long SSL_CTX_dane_set_flags(SSL_CTX *ctx, unsigned long flags);
1758 unsigned long SSL_CTX_dane_clear_flags(SSL_CTX *ctx, unsigned long flags);
1762 __owur int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm);
1765 __owur X509_VERIFY_PARAM *SSL_CTX_get0_param(SSL_CTX *ctx);
1769 int SSL_CTX_set_srp_username(SSL_CTX *ctx, char *name);
1770 int SSL_CTX_set_srp_password(SSL_CTX *ctx, char *password);
1771 int SSL_CTX_set_srp_strength(SSL_CTX *ctx, int strength);
1772 int SSL_CTX_set_srp_client_pwd_callback(SSL_CTX *ctx,
1774 int SSL_CTX_set_srp_verify_param_callback(SSL_CTX *ctx,
1776 int SSL_CTX_set_srp_username_callback(SSL_CTX *ctx,
1778 int SSL_CTX_set_srp_cb_arg(SSL_CTX *ctx, void *arg);
1801 void SSL_CTX_set_client_hello_cb(SSL_CTX *c, SSL_client_hello_cb_fn cb,
1846 long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);
1847 long SSL_CTX_callback_ctrl(SSL_CTX *, int, void (*)(void));
1859 __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth);
1914 __owur STACK_OF(SSL_CIPHER) *SSL_CTX_get_ciphers(const SSL_CTX *ctx);
1926 void SSL_CTX_set_post_handshake_auth(SSL_CTX *ctx, int val);
1929 __owur const SSL_METHOD *SSL_CTX_get_ssl_method(const SSL_CTX *ctx);
1938 void SSL_CTX_set0_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list);
1940 __owur const STACK_OF(X509_NAME) *SSL_CTX_get0_CA_list(const SSL_CTX *ctx);
1942 __owur int SSL_CTX_add1_to_CA_list(SSL_CTX *ctx, const X509 *x);
1946 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list);
1948 __owur STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *s);
1950 __owur int SSL_CTX_add_client_CA(SSL_CTX *ctx, X509 *x);
1972 __owur X509 *SSL_CTX_get0_certificate(const SSL_CTX *ctx);
1973 __owur EVP_PKEY *SSL_CTX_get0_privatekey(const SSL_CTX *ctx);
1975 void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx, int mode);
1976 __owur int SSL_CTX_get_quiet_shutdown(const SSL_CTX *ctx);
1983 __owur int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx);
1984 __owur int SSL_CTX_set_default_verify_dir(SSL_CTX *ctx);
1985 __owur int SSL_CTX_set_default_verify_file(SSL_CTX *ctx);
1986 __owur int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,
1991 __owur SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);
1992 SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX *ctx);
2023 __owur int SSL_CTX_set_ex_data(SSL_CTX *ssl, int idx, void *data);
2024 void *SSL_CTX_get_ex_data(const SSL_CTX *ssl, int idx);
2065 void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
2070 void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,
2110 void SSL_CTX_set_not_resumable_session_callback(SSL_CTX *ctx,
2119 void SSL_CTX_set_record_padding_callback(SSL_CTX *ctx,
2122 void SSL_CTX_set_record_padding_callback_arg(SSL_CTX *ctx, void *arg);
2123 void *SSL_CTX_get_record_padding_callback_arg(const SSL_CTX *ctx);
2124 int SSL_CTX_set_block_padding(SSL_CTX *ctx, size_t block_size);
2135 int SSL_CTX_set_num_tickets(SSL_CTX *ctx, size_t num_tickets);
2136 size_t SSL_CTX_get_num_tickets(const SSL_CTX *ctx);
2154 void SSL_CONF_CTX_set_ssl_ctx(SSL_CONF_CTX *cctx, SSL_CTX *ctx);
2162 int SSL_CTX_config(SSL_CTX *ctx, const char *name);
2198 int SSL_CTX_set_ct_validation_callback(SSL_CTX *ctx,
2225 int SSL_CTX_enable_ct(SSL_CTX *ctx, int validation_mode);
2231 int SSL_CTX_ct_is_enabled(const SSL_CTX *ctx);
2243 int SSL_CTX_set_default_ctlog_list_file(SSL_CTX *ctx);
2252 int SSL_CTX_set_ctlog_list_file(SSL_CTX *ctx, const char *path);
2255 * Sets the CT log list used by all SSL connections created from this SSL_CTX.
2256 * Ownership of the CTLOG_STORE is transferred to the SSL_CTX.
2258 void SSL_CTX_set0_ctlog_store(SSL_CTX *ctx, CTLOG_STORE *logs);
2261 * Gets the CT log list used by all SSL connections created from this SSL_CTX.
2267 const CTLOG_STORE *SSL_CTX_get0_ctlog_store(const SSL_CTX *ctx);
2332 int (*cb) (const SSL *s, const SSL_CTX *ctx,
2336 const SSL_CTX *ctx, int op,
2342 void SSL_CTX_set_security_level(SSL_CTX *ctx, int level);
2343 __owur int SSL_CTX_get_security_level(const SSL_CTX *ctx);
2344 void SSL_CTX_set_security_callback(SSL_CTX *ctx,
2345 int (*cb) (const SSL *s, const SSL_CTX *ctx,
2348 int (*SSL_CTX_get_security_callback(const SSL_CTX *ctx)) (const SSL *s,
2349 const SSL_CTX *ctx,
2354 void SSL_CTX_set0_security_ex_data(SSL_CTX *ctx, void *ex);
2355 __owur void *SSL_CTX_get0_security_ex_data(const SSL_CTX *ctx);
2413 int SSL_CTX_set_session_ticket_cb(SSL_CTX *ctx,
2428 void SSL_CTX_set_allow_early_data_cb(SSL_CTX *ctx,