Home | History | Annotate | Download | only in ssl

Lines Matching defs:SSL_SESSION

368 typedef struct ssl_session_st SSL_SESSION;
771 DECLARE_LHASH_OF(SSL_SESSION);
782 LHASH_OF(SSL_SESSION) *sessions;
809 int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess);
810 void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess);
811 SSL_SESSION *(*get_session_cb)(struct ssl_st *ssl,
1031 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx);
1061 void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *sess));
1062 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess);
1063 void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx, void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_SESSION *sess));
1064 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
1065 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));
1066 SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(struct ssl_st *ssl, unsigned char *Data, int len, int *copy);
1246 /* These are the ones being used, the ones in SSL_SESSION are
1277 SSL_SESSION *session;
1535 #define d2i_SSL_SESSION_bio(bp,s_id) ASN1_d2i_bio_of(SSL_SESSION,SSL_SESSION_new,d2i_SSL_SESSION,bp,s_id)
1536 #define i2d_SSL_SESSION_bio(bp,s_id) ASN1_i2d_bio_of(SSL_SESSION,i2d_SSL_SESSION,bp,s_id)
1538 DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
1838 long SSL_SESSION_get_time(const SSL_SESSION *s);
1839 long SSL_SESSION_set_time(SSL_SESSION *s, long t);
1840 long SSL_SESSION_get_timeout(const SSL_SESSION *s);
1841 long SSL_SESSION_set_timeout(SSL_SESSION *s, long t);
1843 X509 *SSL_SESSION_get0_peer(SSL_SESSION *s);
1844 int SSL_SESSION_set1_id_context(SSL_SESSION *s,const unsigned char *sid_ctx,
1847 SSL_SESSION *SSL_SESSION_new(void);
1848 const unsigned char *SSL_SESSION_get_id(const SSL_SESSION *s,
1850 const char * SSL_SESSION_get_version(const SSL_SESSION *s);
1851 unsigned int SSL_SESSION_get_compress_id(const SSL_SESSION *s);
1853 int SSL_SESSION_print_fp(FILE *fp,const SSL_SESSION *ses);
1856 int SSL_SESSION_print(BIO *fp,const SSL_SESSION *ses);
1858 void SSL_SESSION_free(SSL_SESSION *ses);
1859 int i2d_SSL_SESSION(SSL_SESSION *in,unsigned char **pp);
1860 int SSL_set_session(SSL *to, SSL_SESSION *session);
1862 int SSL_CTX_add_session(SSL_CTX *s, SSL_SESSION *c);
1863 int SSL_CTX_remove_session(SSL_CTX *,SSL_SESSION *c);
1868 SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a,const unsigned char **pp,
2035 SSL_SESSION *SSL_get_session(const SSL *ssl);
2036 SSL_SESSION *SSL_get1_session(SSL *ssl); /* obtain a reference count */
2053 int SSL_SESSION_set_ex_data(SSL_SESSION *ss,int idx,void *data);
2054 void *SSL_SESSION_get_ex_data(const SSL_SESSION *ss,int idx);