Typedefs |
| typedef int | SSL_SESS_NEW_CB_T (SSL *ssl, SSL_SESSION *session) |
| | A type of callback function that adds a new session into an external cache. More...
|
| typedef void | SSL_SESS_REMOVE_CB_T (SSL_CTX *ssl, SSL_SESSION *session) |
| | A type of callback function that removes a session from an external cache. More...
|
| typedef SSL_SESSION* | SSL_SESS_GET_CB_T (SSL *ssl, unsigned char *sess_id, int id_len, int *copyflag) |
| | A type of callback function that retrieves a session from an external cache based on an unique session identifier. More...
|
Functions |
| long | SSL_CTX_sess_set_cache_size (SSL_CTX *ctx, long csize) |
| | Sets the maximum size of the cache in entries for the SSL_CTX ctx. More...
|
| long | SSL_CTX_sess_get_cache_size (SSL_CTX *ctx) |
| | Returns the current cache size setting for the SSL_CTX ctx. More...
|
| int | SSL_CTX_set_session_cache_mode (SSL_CTX *ctx, int mode) |
| | Sets the session cache mode for the SSL_CTX ctx. More...
|
| int | SSL_CTX_get_session_cache_mode (SSL_CTX *ctx) |
| | Returns the session cache mode for the SSL_CTX ctx. More...
|
| long | SSL_CTX_set_max_rsa_n_size (SSL_CTX *ssl_ctx, unsigned long size) |
| | Allows the server to set the maximum size of the client certificate public key modulus. More...
|
| long | SSL_CTX_set_max_rsa_e_size (SSL_CTX *ssl_ctx, unsigned long size) |
| | Allows the server to set the maximum size of the client certificate public key exponent. More...
|
| void | SSL_CTX_sess_set_new_cb (SSL_CTX *ctx, SSL_SESS_NEW_CB_T *new_session_cb) |
| | Sets a callback which is invoked when a session is added to the session identifier cache. More...
|
| SSL_SESS_NEW_CB_T* | SSL_CTX_sess_get_new_cb (SSL_CTX *ctx) |
| | Returns the callback which is invoked when a session is added to the session identifier cache. More...
|
| void | SSL_CTX_sess_set_remove_cb (SSL_CTX *ctx, SSL_SESS_REMOVE_CB_T *remove_session_cb) |
| | Sets a callback which is invoked when a session is removed from the session identifier cache. More...
|
| SSL_SESS_REMOVE_CB_T* | SSL_CTX_sess_get_remove_cb (SSL_CTX *ctx) |
| | Returns the callback which is invoked when a session is removed from the session identifier cache. More...
|
| void | SSL_CTX_sess_set_get_cb (SSL_CTX *ctx, SSL_SESS_GET_CB_T *get_session_cb) |
| | Sets a callback which is invoked when a session is looked up in the session identifier cache and is not found or if there is no internal caching. More...
|
| SSL_SESS_GET_CB_T* | SSL_CTX_sess_get_get_cb (SSL_CTX *ctx) |
| | Returns the callback invoked when a session is looked up in the session identifier cache and is not found. More...
|
| int | SSL_CTX_add_session (SSL_CTX *ctx, SSL_SESSION *sess) |
| | Adds the SSL session sess to the SSL_CTX structure ctx. More...
|
| int | SSL_CTX_remove_session (SSL_CTX *ctx, SSL_SESSION *sess) |
| | Removes the session sess from the session cache of the SSL_CTX structure ctx. More...
|
| int | SSL_CTX_flush_sessions (SSL_CTX *ctx, int timeout) |
| | Flushes out-of-date sessions from the session cache. More...
|
| long | SSL_CTX_set_timeout (SSL_CTX *ctx, long tmout) |
| | Sets the timeout period for the SSL_CTX ctx. More...
|
| long | SSL_CTX_get_timeout (SSL_CTX *ctx) |
| | Returns the session identifier timeout period inherited by the SSL structures created using the SSL_CTX ctx. More...
|
| long | SSL_get_default_timeout (SSL *ssl) |
| | Returns the default timeout period (in seconds) for SSL sessions created by a particular SSL version (that is, SSLv2, SSLv3 or TLSv1). More...
|