Eneboo - Documentación para desarrolladores
Clases | 'defines' | 'typedefs' | Funciones | Variables
Referencia del Archivo src/libdigidoc/openssl/ssl/ssl_sess.c
#include <stdio.h>
#include <openssl/lhash.h>
#include <openssl/rand.h>
#include <openssl/engine.h>
#include "ssl_locl.h"

Clases

struct  timeout_param_st

'defines'

#define MAX_SESS_ID_ATTEMPTS   10

'typedefs'

typedef struct timeout_param_st TIMEOUT_PARAM

Funciones

SSL_SESSIONSSL_get_session (const SSL *ssl)
SSL_SESSIONSSL_get1_session (SSL *ssl)
int SSL_SESSION_get_ex_new_index (long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func)
int SSL_SESSION_set_ex_data (SSL_SESSION *s, int idx, void *arg)
void * SSL_SESSION_get_ex_data (const SSL_SESSION *s, int idx)
SSL_SESSIONSSL_SESSION_new (void)
const unsigned char * SSL_SESSION_get_id (const SSL_SESSION *s, unsigned int *len)
int ssl_get_new_session (SSL *s, int session)
int ssl_get_prev_session (SSL *s, unsigned char *session_id, int len, const unsigned char *limit)
int SSL_CTX_add_session (SSL_CTX *ctx, SSL_SESSION *c)
int SSL_CTX_remove_session (SSL_CTX *ctx, SSL_SESSION *c)
void SSL_SESSION_free (SSL_SESSION *ss)
int SSL_set_session (SSL *s, SSL_SESSION *session)
long SSL_SESSION_set_timeout (SSL_SESSION *s, long t)
long SSL_SESSION_get_timeout (const SSL_SESSION *s)
long SSL_SESSION_get_time (const SSL_SESSION *s)
long SSL_SESSION_set_time (SSL_SESSION *s, long t)
long SSL_CTX_set_timeout (SSL_CTX *s, long t)
long SSL_CTX_get_timeout (const SSL_CTX *s)
int ssl_clear_bad_session (SSL *s)
void SSL_CTX_sess_set_new_cb (SSL_CTX *ctx, int(*cb)(struct ssl_st *ssl, SSL_SESSION *sess))
void SSL_CTX_sess_set_remove_cb (SSL_CTX *ctx, void(*cb)(SSL_CTX *ctx, SSL_SESSION *sess))
void SSL_CTX_sess_set_get_cb (SSL_CTX *ctx, SSL_SESSION *(*cb)(struct ssl_st *ssl, unsigned char *data, int len, int *copy))
void SSL_CTX_set_info_callback (SSL_CTX *ctx, void(*cb)(const SSL *ssl, int type, int val))
void SSL_CTX_set_client_cert_cb (SSL_CTX *ctx, int(*cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey))
int SSL_CTX_set_client_cert_engine (SSL_CTX *ctx, ENGINE *e)
void SSL_CTX_set_cookie_generate_cb (SSL_CTX *ctx, int(*cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len))
void SSL_CTX_set_cookie_verify_cb (SSL_CTX *ctx, int(*cb)(SSL *ssl, unsigned char *cookie, unsigned int cookie_len))

Variables

int(*)(SSL *ssl, SSL_SESSION *sess) SSL_CTX_sess_get_new_cb (SSL_CTX *ctx)
void(*)(SSL_CTX *ctx,
SSL_SESSION *sess) 
SSL_CTX_sess_get_remove_cb (SSL_CTX *ctx)
SSL_SESSION *(*)(SSL *ssl,
unsigned char *data, int len,
int *copy) 
SSL_CTX_sess_get_get_cb (SSL_CTX *ctx)
void(*)(const SSL *ssl, int
type, int val
SSL_CTX_get_info_callback (SSL_CTX *ctx)
int(*)(SSL *ssl, X509 **x509,
EVP_PKEY **pkey) 
SSL_CTX_get_client_cert_cb (SSL_CTX *ctx)

Documentación de los 'defines'

#define MAX_SESS_ID_ATTEMPTS   10

Documentación de los 'typedefs'


Documentación de las funciones

int ssl_clear_bad_session ( SSL s)
int SSL_CTX_add_session ( SSL_CTX ctx,
SSL_SESSION c 
)
long SSL_CTX_get_timeout ( const SSL_CTX s)
int SSL_CTX_remove_session ( SSL_CTX ctx,
SSL_SESSION c 
)
void SSL_CTX_sess_set_get_cb ( SSL_CTX ctx,
SSL_SESSION *(*)(struct ssl_st *ssl, unsigned char *data, int len, int *copy)  cb 
)
void SSL_CTX_sess_set_new_cb ( SSL_CTX ctx,
int(*)(struct ssl_st *ssl, SSL_SESSION *sess)  cb 
)
void SSL_CTX_sess_set_remove_cb ( SSL_CTX ctx,
void(*)(SSL_CTX *ctx, SSL_SESSION *sess)  cb 
)
void SSL_CTX_set_client_cert_cb ( SSL_CTX ctx,
int(*)(SSL *ssl, X509 **x509, EVP_PKEY **pkey)  cb 
)
int SSL_CTX_set_client_cert_engine ( SSL_CTX ctx,
ENGINE e 
)
void SSL_CTX_set_cookie_generate_cb ( SSL_CTX ctx,
int(*)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len)  cb 
)
void SSL_CTX_set_cookie_verify_cb ( SSL_CTX ctx,
int(*)(SSL *ssl, unsigned char *cookie, unsigned int cookie_len)  cb 
)
void SSL_CTX_set_info_callback ( SSL_CTX ctx,
void(*)(const SSL *ssl, int type, int val cb 
)
long SSL_CTX_set_timeout ( SSL_CTX s,
long  t 
)
SSL_SESSION* SSL_get1_session ( SSL ssl)
int ssl_get_new_session ( SSL s,
int  session 
)
int ssl_get_prev_session ( SSL s,
unsigned char *  session_id,
int  len,
const unsigned char *  limit 
)
SSL_SESSION* SSL_get_session ( const SSL ssl)
void SSL_SESSION_free ( SSL_SESSION ss)
void* SSL_SESSION_get_ex_data ( const SSL_SESSION s,
int  idx 
)
int SSL_SESSION_get_ex_new_index ( long  argl,
void *  argp,
CRYPTO_EX_new new_func,
CRYPTO_EX_dup dup_func,
CRYPTO_EX_free free_func 
)
const unsigned char* SSL_SESSION_get_id ( const SSL_SESSION s,
unsigned int len 
)
long SSL_SESSION_get_time ( const SSL_SESSION s)
long SSL_SESSION_get_timeout ( const SSL_SESSION s)
SSL_SESSION* SSL_SESSION_new ( void  )
int SSL_SESSION_set_ex_data ( SSL_SESSION s,
int  idx,
void *  arg 
)
long SSL_SESSION_set_time ( SSL_SESSION s,
long  t 
)
long SSL_SESSION_set_timeout ( SSL_SESSION s,
long  t 
)
int SSL_set_session ( SSL s,
SSL_SESSION session 
)

Documentación de las variables

int(*)(SSL * ssl, X509 ** x509, EVP_PKEY **pkey) SSL_CTX_get_client_cert_cb(SSL_CTX *ctx)
void(*)(const SSL *ssl, int type, int val) SSL_CTX_get_info_callback(SSL_CTX *ctx)
SSL_SESSION*(*)(SSL *ssl, unsigned char *data, int len, int *copy) SSL_CTX_sess_get_get_cb(SSL_CTX *ctx)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'