Home | History | Annotate | Download | only in ssl

Lines Matching defs:SSL_SESSION

369 typedef struct ssl_session_st SSL_SESSION;
806 DECLARE_LHASH_OF(SSL_SESSION);
817 LHASH_OF(SSL_SESSION) *sessions;
844 int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess);
845 void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess);
846 SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl,
1073 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx);
1103 void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess));
1104 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess);
1105 void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx, void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess));
1106 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
1107 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));
1108 SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(struct ssl_st *ssl, unsigned char *Data, int len, int *copy);
1292 /* These are the ones being used, the ones in SSL_SESSION are
1323 SSL_SESSION *session;
1347 * SSL_SESSION is associated with it. Once an SSL_SESSION is associated with this SSL object,
1585 #define d2i_SSL_SESSION_bio(bp,s_id) ASN1_d2i_bio_of(SSL_SESSION,SSL_SESSION_new,d2i_SSL_SESSION,bp,s_id)
1586 #define i2d_SSL_SESSION_bio(bp,s_id) ASN1_i2d_bio_of(SSL_SESSION,i2d_SSL_SESSION,bp,s_id)
1588 DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
1893 long SSL_SESSION_get_time(const SSL_SESSION *s);
1894 long SSL_SESSION_set_time(SSL_SESSION *s, long t);
1895 long SSL_SESSION_get_timeout(const SSL_SESSION *s);
1896 long SSL_SESSION_set_timeout(SSL_SESSION *s, long t);
1898 X509 *SSL_SESSION_get0_peer(SSL_SESSION *s);
1899 int SSL_SESSION_set1_id_context(SSL_SESSION *s,const unsigned char *sid_ctx,
1902 SSL_SESSION *SSL_SESSION_new(void);
1903 const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *s,
1905 const char * SSL_SESSION_get_version(const SSL_SESSION *s);
1906 unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *s);
1908 int SSL_SESSION_print_fp(FILE *fp,const SSL_SESSION *ses);
1911 int SSL_SESSION_print(BIO *fp,const SSL_SESSION *ses);
1913 void SSL_SESSION_free(SSL_SESSION *ses);
1914 int i2d_SSL_SESSION(SSL_SESSION *in,unsigned char **pp);
1915 int SSL_set_session(SSL *to, SSL_SESSION *session);
1917 int SSL_CTX_add_session(SSL_CTX *s, SSL_SESSION *c);
1918 int SSL_CTX_remove_session(SSL_CTX *,SSL_SESSION *c);
1923 SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a,const unsigned char **pp,
2090 SSL_SESSION *SSL_get_session(const SSL *ssl);
2091 SSL_SESSION *SSL_get1_session(SSL *ssl); /* obtain a reference count */
2108 int SSL_SESSION_set_ex_data(SSL_SESSION *ss,int idx,void *data);
2109 void *SSL_SESSION_get_ex_data(const SSL_SESSION *ss,int idx);