Lines Matching full:ssl_ctx
356 * in SSL_CTX. */
407 long (*ssl_ctx_ctrl)(SSL_CTX *ctx,int cmd,long larg,void *parg);
418 long (*ssl_ctx_callback_ctrl)(SSL_CTX *s, int cb_id, void (*fp)(void));
647 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));
662 /* This callback type is used inside SSL_CTX, SSL, and in the functions that set
909 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx);
935 void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess));
936 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess);
937 void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx, void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess));
938 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
939 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));
940 SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(struct ssl_st *ssl, unsigned char *Data, int len, int *copy);
941 void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*cb)(const SSL *ssl,int type,int val));
942 void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,int type,int val);
943 void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx, int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey));
944 int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx))(SSL *ssl, X509 **x509, EVP_PKEY **pkey);
946 int SSL_CTX_set_client_cert_engine(SSL_CTX *ctx, ENGINE *e);
948 void SSL_CTX_set_cookie_generate_cb(SSL_CTX *ctx, int (*app_gen_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len));
949 void SSL_CTX_set_cookie_verify_cb(SSL_CTX *ctx, int (*app_verify_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int cookie_len));
951 void SSL_CTX_set_next_protos_advertised_cb(SSL_CTX *s,
956 void SSL_CTX_set_next_proto_select_cb(SSL_CTX *s,
980 void SSL_CTX_set_psk_client_callback(SSL_CTX *ctx,
988 void SSL_CTX_set_psk_server_callback(SSL_CTX *ctx,
994 int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *identity_hint);
1164 SSL_CTX *ctx;
1232 SSL_CTX * initial_ctx; /* initial ctx, used to store sessions */
1528 BIO *BIO_new_ssl(SSL_CTX *ctx,int client);
1529 BIO *BIO_new_ssl_connect(SSL_CTX *ctx);
1530 BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx);
1536 int SSL_CTX_set_cipher_list(SSL_CTX *,const char *str);
1537 SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
1538 void SSL_CTX_free(SSL_CTX *);
1539 long SSL_CTX_set_timeout(SSL_CTX *ctx,long t);
1540 long SSL_CTX_get_timeout(const SSL_CTX *ctx);
1541 X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *);
1542 void SSL_CTX_set_cert_store(SSL_CTX *,X509_STORE *);
1546 void SSL_CTX_flush_sessions(SSL_CTX *ctx,long tm);
1596 int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type);
1597 int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type);
1598 int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type);
1599 int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file); /* PEM type */
1637 int SSL_CTX_add_session(SSL_CTX *s, SSL_SESSION *c);
1638 int SSL_CTX_remove_session(SSL_CTX *,SSL_SESSION *c);
1639 int SSL_CTX_set_generate_session_id(SSL_CTX *, GEN_SESSION_CB);
1652 int SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
1653 int SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
1654 int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int,X509_STORE_CTX *);
1655 void SSL_CTX_set_verify(SSL_CTX *ctx,int mode,
1657 void SSL_CTX_set_verify_depth(SSL_CTX *ctx,int depth);
1658 void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, int (*cb)(X509_STORE_CTX *,void *), void *arg);
1660 int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa);
1662 int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, const unsigned char *d, long len);
1663 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey);
1664 int SSL_CTX_use_PrivateKey_ASN1(int pk,SSL_CTX *ctx,
1666 int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x);
1667 int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, const unsigned char *d);
1669 void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb);
1670 void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx, void *u);
1672 int SSL_CTX_check_private_key(const SSL_CTX *ctx);
1675 int SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx,
1678 SSL * SSL_new(SSL_CTX *ctx);
1682 int SSL_CTX_set_purpose(SSL_CTX *s, int purpose);
1684 int SSL_CTX_set_trust(SSL_CTX *s, int trust);
1687 int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm);
1698 long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd, long larg, void *parg);
1699 long SSL_CTX_callback_ctrl(SSL_CTX *, int, void (*)(void));
1705 int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth);
1744 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list);
1746 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *s);
1748 int SSL_CTX_add_client_CA(SSL_CTX *ctx,X509 *x);
1765 void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx,int mode);
1766 int SSL_CTX_get_quiet_shutdown(const SSL_CTX *ctx);
1772 int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx);
1773 int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,
1778 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);
1779 SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX* ctx);
1798 int SSL_CTX_set_ex_data(SSL_CTX *ssl,int idx,void *data);
1799 void *SSL_CTX_get_ex_data(const SSL_CTX *ssl,int idx);
1836 void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx,
1845 void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,
1853 void SSL_CTX_set_tmp_ecdh_callback(SSL_CTX *ctx,