• Home
  • Raw
  • Download

Lines Matching refs:ssl

658 #define SSL_set_options(ssl,op) \  argument
659 SSL_ctrl((ssl),SSL_CTRL_OPTIONS,(op),NULL)
660 #define SSL_clear_options(ssl,op) \ argument
661 SSL_ctrl((ssl),SSL_CTRL_CLEAR_OPTIONS,(op),NULL)
662 #define SSL_get_options(ssl) \ argument
663 SSL_ctrl((ssl),SSL_CTRL_OPTIONS,0,NULL)
671 #define SSL_clear_mode(ssl,op) \ argument
672 SSL_ctrl((ssl),SSL_CTRL_CLEAR_MODE,(op),NULL)
673 #define SSL_set_mode(ssl,op) \ argument
674 SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
675 #define SSL_get_mode(ssl) \ argument
676 SSL_ctrl((ssl),SSL_CTRL_MODE,0,NULL)
677 #define SSL_set_mtu(ssl, mtu) \ argument
678 SSL_ctrl((ssl),SSL_CTRL_SET_MTU,(mtu),NULL)
680 #define SSL_get_secure_renegotiation_support(ssl) \ argument
681 SSL_ctrl((ssl), SSL_CTRL_GET_RI_SUPPORT, 0, NULL)
684 #define SSL_heartbeat(ssl) \ argument
685 SSL_ctrl((ssl),SSL_CTRL_TLS_EXT_SEND_HEARTBEAT,0,NULL)
688 …cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg));
689 …d SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version, int content_type, const void…
691 #define SSL_set_msg_callback_arg(ssl, arg) SSL_ctrl((ssl), SSL_CTRL_SET_MSG_CALLBACK_ARG, 0, (arg)) argument
752 typedef int (*GEN_SESSION_CB)(const SSL *ssl, unsigned char *id,
809 int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess);
811 SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl,
849 int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey);
852 int (*app_gen_cookie_cb)(SSL *ssl, unsigned char *cookie,
856 int (*app_verify_cookie_cb)(SSL *ssl, unsigned char *cookie,
871 void (*info_callback)(const SSL *ssl,int type,int val); /* used if SSL's info_callback is NULL */
887 …ack)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg);
928 int (*tlsext_ticket_key_cb)(SSL *ssl,
935 int (*tlsext_status_cb)(SSL *ssl, void *arg);
944 unsigned int (*psk_client_callback)(SSL *ssl, const char *hint, char *identity,
947 unsigned int (*psk_server_callback)(SSL *ssl, const char *identity,
1024 void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *se…
1025 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess);
1028 void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx, SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl, unsig…
1029 SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(struct ssl_st *ssl, unsigned char *Data, int …
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…
1033 int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx))(SSL *ssl, X509 **x509, EVP_PKEY **pkey);
1037 void SSL_CTX_set_cookie_generate_cb(SSL_CTX *ctx, int (*app_gen_cookie_cb)(SSL *ssl, unsigned char …
1038 void SSL_CTX_set_cookie_verify_cb(SSL_CTX *ctx, int (*app_verify_cookie_cb)(SSL *ssl, unsigned char…
1041 int (*cb) (SSL *ssl,
1047 int (*cb) (SSL *ssl,
1072 unsigned int (*psk_client_callback)(SSL *ssl, const char *hint,
1075 void SSL_set_psk_client_callback(SSL *ssl,
1076 unsigned int (*psk_client_callback)(SSL *ssl, const char *hint,
1080 unsigned int (*psk_server_callback)(SSL *ssl, const char *identity,
1082 void SSL_set_psk_server_callback(SSL *ssl,
1083 unsigned int (*psk_server_callback)(SSL *ssl, const char *identity,
1178 …ack)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg);
1238 void (*info_callback)(const SSL *ssl,int type,int val); /* optional informational callback */
1248 unsigned int (*psk_client_callback)(SSL *ssl, const char *hint, char *identity,
1251 unsigned int (*psk_server_callback)(SSL *ssl, const char *identity,
1619 #define DTLSv1_get_timeout(ssl, arg) \ argument
1620 SSL_ctrl(ssl,DTLS_CTRL_GET_TIMEOUT,0, (void *)arg)
1621 #define DTLSv1_handle_timeout(ssl) \ argument
1622 SSL_ctrl(ssl,DTLS_CTRL_HANDLE_TIMEOUT,0, NULL)
1623 #define DTLSv1_listen(ssl, peer) \ argument
1624 SSL_ctrl(ssl,DTLS_CTRL_LISTEN,0, (void *)peer)
1626 #define SSL_session_reused(ssl) \ argument
1627 SSL_ctrl((ssl),SSL_CTRL_GET_SESSION_REUSED,0,NULL)
1628 #define SSL_num_renegotiations(ssl) \ argument
1629 SSL_ctrl((ssl),SSL_CTRL_GET_NUM_RENEGOTIATIONS,0,NULL)
1630 #define SSL_clear_num_renegotiations(ssl) \ argument
1631 SSL_ctrl((ssl),SSL_CTRL_CLEAR_NUM_RENEGOTIATIONS,0,NULL)
1632 #define SSL_total_renegotiations(ssl) \ argument
1633 SSL_ctrl((ssl),SSL_CTRL_GET_TOTAL_RENEGOTIATIONS,0,NULL)
1644 #define SSL_need_tmp_RSA(ssl) \ argument
1645 SSL_ctrl(ssl,SSL_CTRL_NEED_TMP_RSA,0,NULL)
1646 #define SSL_set_tmp_rsa(ssl,rsa) \ argument
1647 SSL_ctrl(ssl,SSL_CTRL_SET_TMP_RSA,0,(char *)rsa)
1648 #define SSL_set_tmp_dh(ssl,dh) \ argument
1649 SSL_ctrl(ssl,SSL_CTRL_SET_TMP_DH,0,(char *)dh)
1650 #define SSL_set_tmp_ecdh(ssl,ecdh) \ argument
1651 SSL_ctrl(ssl,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh)
1716 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa);
1718 int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, unsigned char *d, long len);
1719 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey);
1720 int SSL_use_PrivateKey_ASN1(int pk,SSL *ssl, const unsigned char *d, long len);
1721 int SSL_use_certificate(SSL *ssl, X509 *x);
1722 int SSL_use_certificate_ASN1(SSL *ssl, const unsigned char *d, int len);
1723 int SSL_use_certificate_chain(SSL *ssl, STACK_OF(X509) *cert_chain);
1724 STACK_OF(X509) * SSL_get_certificate_chain(SSL *ssl, X509 *x);
1727 int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type);
1728 int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type);
1729 int SSL_use_certificate_file(SSL *ssl, const char *file, int type);
1779 int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id,
1817 int SSL_set_session_id_context(SSL *ssl,const unsigned char *sid_ctx,
1826 int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm);
1852 void SSL_free(SSL *ssl);
1853 int SSL_accept(SSL *ssl);
1854 int SSL_connect(SSL *ssl);
1855 int SSL_read(SSL *ssl,void *buf,int num);
1856 int SSL_peek(SSL *ssl,void *buf,int num);
1857 int SSL_write(SSL *ssl,const void *buf,int num);
1858 long SSL_ctrl(SSL *ssl,int cmd, long larg, void *parg);
1919 int SSL_add_client_CA(SSL *ssl,X509 *x);
1932 SSL *SSL_dup(SSL *ssl);
1934 X509 *SSL_get_certificate(const SSL *ssl);
1935 /* EVP_PKEY */ struct evp_pkey_st *SSL_get_privatekey(SSL *ssl);
1939 void SSL_set_quiet_shutdown(SSL *ssl,int mode);
1940 int SSL_get_quiet_shutdown(const SSL *ssl);
1941 void SSL_set_shutdown(SSL *ssl,int mode);
1942 int SSL_get_shutdown(const SSL *ssl);
1943 int SSL_version(const SSL *ssl);
1948 SSL_SESSION *SSL_get_session(const SSL *ssl);
1949 SSL_SESSION *SSL_get1_session(SSL *ssl); /* obtain a reference count */
1950 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);
1951 SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX* ctx);
1952 void SSL_set_info_callback(SSL *ssl,
1953 void (*cb)(const SSL *ssl,int type,int val));
1954 void (*SSL_get_info_callback(const SSL *ssl))(const SSL *ssl,int type,int val);
1955 int SSL_state(const SSL *ssl);
1956 void SSL_set_state(SSL *ssl, int state);
1958 void SSL_set_verify_result(SSL *ssl,long v);
1959 long SSL_get_verify_result(const SSL *ssl);
1961 int SSL_set_ex_data(SSL *ssl,int idx,void *data);
1962 void *SSL_get_ex_data(const SSL *ssl,int idx);
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);
1997 #define SSL_get_max_cert_list(ssl) \ argument
1998 SSL_ctrl(ssl,SSL_CTRL_GET_MAX_CERT_LIST,0,NULL)
1999 #define SSL_set_max_cert_list(ssl,m) \ argument
2000 SSL_ctrl(ssl,SSL_CTRL_SET_MAX_CERT_LIST,m,NULL)
2004 #define SSL_set_max_send_fragment(ssl,m) \ argument
2005 SSL_ctrl(ssl,SSL_CTRL_SET_MAX_SEND_FRAGMENT,m,NULL)
2010 RSA *(*cb)(SSL *ssl,int is_export,
2013 void SSL_set_tmp_rsa_callback(SSL *ssl,
2014 RSA *(*cb)(SSL *ssl,int is_export,
2019 DH *(*dh)(SSL *ssl,int is_export,
2021 void SSL_set_tmp_dh_callback(SSL *ssl,
2022 DH *(*dh)(SSL *ssl,int is_export,
2027 EC_KEY *(*ecdh)(SSL *ssl,int is_export,
2029 void SSL_set_tmp_ecdh_callback(SSL *ssl,
2030 EC_KEY *(*ecdh)(SSL *ssl,int is_export,