Lines Matching full:ssl_ctx
363 * in SSL_CTX. */
430 long (*ssl_ctx_ctrl)(SSL_CTX *ctx,int cmd,long larg,void *parg);
441 long (*ssl_ctx_callback_ctrl)(SSL_CTX *s, int cb_id, void (*fp)(void));
688 void SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg));
721 int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx);
723 int SSL_CTX_SRP_CTX_free(SSL_CTX *ctx);
739 /* This callback type is used inside SSL_CTX, SSL, and in the functions that set
998 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx);
1024 void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess));
1025 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess);
1026 void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx, void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess));
1027 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
1028 void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx, SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl, unsigned char *data,int len,int *copy));
1029 SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(struct ssl_st *ssl, unsigned char *Data, int len, int *copy);
1030 void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*cb)(const SSL *ssl,int type,int val));
1031 void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,int type,int val);
1032 void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx, int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey));
1033 int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx))(SSL *ssl, X509 **x509, EVP_PKEY **pkey);
1035 int SSL_CTX_set_client_cert_engine(SSL_CTX *ctx, ENGINE *e);
1037 void SSL_CTX_set_cookie_generate_cb(SSL_CTX *ctx, int (*app_gen_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len));
1038 void SSL_CTX_set_cookie_verify_cb(SSL_CTX *ctx, int (*app_verify_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int cookie_len));
1040 void SSL_CTX_set_next_protos_advertised_cb(SSL_CTX *s,
1046 void SSL_CTX_set_next_proto_select_cb(SSL_CTX *s,
1071 void SSL_CTX_set_psk_client_callback(SSL_CTX *ctx,
1079 void SSL_CTX_set_psk_server_callback(SSL_CTX *ctx,
1085 int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *identity_hint);
1255 SSL_CTX *ctx;
1323 SSL_CTX * initial_ctx; /* initial ctx, used to store sessions */
1662 BIO *BIO_new_ssl(SSL_CTX *ctx,int client);
1663 BIO *BIO_new_ssl_connect(SSL_CTX *ctx);
1664 BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx);
1670 int SSL_CTX_set_cipher_list(SSL_CTX *,const char *str);
1671 SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
1672 void SSL_CTX_free(SSL_CTX *);
1673 SSL_CTX *ctx,long t);
1674 long SSL_CTX_get_timeout(const SSL_CTX *ctx);
1675 X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *);
1676 void SSL_CTX_set_cert_store(SSL_CTX *,X509_STORE *);
1680 void SSL_CTX_flush_sessions(SSL_CTX *ctx,long tm);
1730 int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type);
1731 int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type);
1732 int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type);
1733 int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file); /* PEM type */
1775 int SSL_CTX_add_session(SSL_CTX *s, SSL_SESSION *c);
1776 int SSL_CTX_remove_session(SSL_CTX *,SSL_SESSION *c);
1777 int SSL_CTX_set_generate_session_id(SSL_CTX *, GEN_SESSION_CB);
1790 int SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
1791 int SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
1792 int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int,X509_STORE_CTX *);
1793 void SSL_CTX_set_verify(SSL_CTX *ctx,int mode,
1795 void SSL_CTX_set_verify_depth(SSL_CTX *ctx,int depth);
1796 void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, int (*cb)(X509_STORE_CTX *,void *), void *arg);
1798 int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa);
1800 int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, const unsigned char *d, long len);
1801 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey);
1802 int SSL_CTX_use_PrivateKey_ASN1(int pk,SSL_CTX *ctx,
1804 int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x);
1805 int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, const unsigned char *d);
1807 void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb);
1808 void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx, void *u);
1810 int SSL_CTX_check_private_key(const SSL_CTX *ctx);
1813 int SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx,
1816 SSL * SSL_new(SSL_CTX *ctx);
1820 int SSL_CTX_set_purpose(SSL_CTX *s, int purpose);
1822 int SSL_CTX_set_trust(SSL_CTX *s, int trust);
1825 int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm);
1829 int SSL_CTX_set_srp_username(SSL_CTX *ctx,char *name);
1830 int SSL_CTX_set_srp_password(SSL_CTX *ctx,char *password);
1831 int SSL_CTX_set_srp_strength(SSL_CTX *ctx, int strength);
1832 int SSL_CTX_set_srp_client_pwd_callback(SSL_CTX *ctx,
1834 int SSL_CTX_set_srp_verify_param_callback(SSL_CTX *ctx,
1836 int SSL_CTX_set_srp_username_callback(SSL_CTX *ctx,
1838 int SSL_CTX_set_srp_cb_arg(SSL_CTX *ctx, void *arg);
1860 long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd, long larg, void *parg);
1861 long SSL_CTX_callback_ctrl(SSL_CTX *, int, void (*)(void));
1867 int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth);
1916 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list);
1918 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *s);
1920 int SSL_CTX_add_client_CA(SSL_CTX *ctx,X509 *x);
1937 void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx,int mode);
1938 int SSL_CTX_get_quiet_shutdown(const SSL_CTX *ctx);
1944 int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx);
1945 int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,
1950 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);
1951 SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX* ctx);
1971 int SSL_CTX_set_ex_data(SSL_CTX *ssl,int idx,void *data);
1972 void *SSL_CTX_get_ex_data(const SSL_CTX *ssl,int idx);
2009 void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx,
2018 void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,
2026 void SSL_CTX_set_tmp_ecdh_callback(SSL_CTX *ctx,