Home | History | Annotate | Download | only in ssl

Lines Matching refs: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
1006 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx);
1036 void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess));
1037 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess);
1038 void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx, void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess));
1039 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
1040 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));
1041 SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(struct ssl_st *ssl, unsigned char *Data, int len, int *copy);
1042 void SSL_CTX_set_info_callback(SSL_CTX *ctx, void (*cb)(const SSL *ssl,int type,int val));
1043 void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,int type,int val);
1044 void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx, int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey));
1045 int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx))(SSL *ssl, X509 **x509, EVP_PKEY **pkey);
1047 int SSL_CTX_set_client_cert_engine(SSL_CTX *ctx, ENGINE *e);
1049 void SSL_CTX_set_cookie_generate_cb(SSL_CTX *ctx, int (*app_gen_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len));
1050 void SSL_CTX_set_cookie_verify_cb(SSL_CTX *ctx, int (*app_verify_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int cookie_len));
1052 void SSL_CTX_set_next_protos_advertised_cb(SSL_CTX *s,
1058 void SSL_CTX_set_next_proto_select_cb(SSL_CTX *s,
1083 void SSL_CTX_set_psk_client_callback(SSL_CTX *ctx,
1091 void SSL_CTX_set_psk_server_callback(SSL_CTX *ctx,
1097 int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *identity_hint);
1267 SSL_CTX *ctx;
1335 SSL_CTX * initial_ctx; /* initial ctx, used to store sessions */
1362 /* Copied from the SSL_CTX. For a server, means that we'll accept
1703 BIO *BIO_new_ssl(SSL_CTX *ctx,int client);
1704 BIO *BIO_new_ssl_connect(SSL_CTX *ctx);
1705 BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx);
1711 int SSL_CTX_set_cipher_list(SSL_CTX *,const char *str);
1712 SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
1713 void SSL_CTX_free(SSL_CTX *);
1714 long SSL_CTX_set_timeout(SSL_CTX *ctx,long t);
1715 long SSL_CTX_get_timeout(const SSL_CTX *ctx);
1716 X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *);
1717 void SSL_CTX_set_cert_store(SSL_CTX *,X509_STORE *);
1721 void SSL_CTX_flush_sessions(SSL_CTX *ctx,long tm);
1772 int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type);
1773 int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type);
1774 int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type);
1775 int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file); /* PEM type */
1817 int SSL_CTX_add_session(SSL_CTX *s, SSL_SESSION *c);
1818 int SSL_CTX_remove_session(SSL_CTX *,SSL_SESSION *c);
1819 int SSL_CTX_set_generate_session_id(SSL_CTX *, GEN_SESSION_CB);
1832 int SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
1833 int SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
1834 int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int,X509_STORE_CTX *);
1835 void SSL_CTX_set_verify(SSL_CTX *ctx,int mode,
1837 void SSL_CTX_set_verify_depth(SSL_CTX *ctx,int depth);
1838 void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx, int (*cb)(X509_STORE_CTX *,void *), void *arg);
1840 int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa);
1842 int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, const unsigned char *d, long len);
1843 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey);
1844 int SSL_CTX_use_PrivateKey_ASN1(int pk,SSL_CTX *ctx,
1846 int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x);
1847 int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, const unsigned char *d);
1849 void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb);
1850 void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx, void *u);
1852 int SSL_CTX_check_private_key(const SSL_CTX *ctx);
1855 int SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx,
1858 SSL * SSL_new(SSL_CTX *ctx);
1862 int SSL_CTX_set_purpose(SSL_CTX *s, int purpose);
1864 int SSL_CTX_set_trust(SSL_CTX *s, int trust);
1867 int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm);
1871 int SSL_CTX_set_srp_username(SSL_CTX *ctx,char *name);
1872 int SSL_CTX_set_srp_password(SSL_CTX *ctx,char *password);
1873 int SSL_CTX_set_srp_strength(SSL_CTX *ctx, int strength);
1874 int SSL_CTX_set_srp_client_pwd_callback(SSL_CTX *ctx,
1876 int SSL_CTX_set_srp_verify_param_callback(SSL_CTX *ctx,
1878 int SSL_CTX_set_srp_username_callback(SSL_CTX *ctx,
1880 int SSL_CTX_set_srp_cb_arg(SSL_CTX *ctx, void *arg);
1902 long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd, long larg, void *parg);
1903 long SSL_CTX_callback_ctrl(SSL_CTX *, int, void (*)(void));
1909 int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth);
1958 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list);
1960 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *s);
1962 int SSL_CTX_add_client_CA(SSL_CTX *ctx,X509 *x);
1979 void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx,int mode);
1980 int SSL_CTX_get_quiet_shutdown(const SSL_CTX *ctx);
1986 int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx);
1987 int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,
1992 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);
1993 SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX* ctx);
2013 int SSL_CTX_set_ex_data(SSL_CTX *ssl,int idx,void *data);
2014 void *SSL_CTX_get_ex_data(const SSL_CTX *ssl,int idx);
2051 void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx,
2060 void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,
2068 void SSL_CTX_set_tmp_ecdh_callback(SSL_CTX *ctx,