| RSA BSAFE Micro Edition Suite |
Streamlined security for mobile and embedded devices |
 
![]() |
Typedefs | |
| typedef int R_CDECL | 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 R_CDECL | 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* R_CDECL | 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 | |
| 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 R_CDECL | SSL_CTX_set_timeout (SSL_CTX *ctx, long tmout) |
| Sets the timeout period for the SSL_CTX ctx. More... | |
| long R_CDECL | 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 R_CDECL | 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... | |
| int R_CDECL | SSL_CTX_set_session_cache_cb (SSL_CTX *ctx, SSL_SESSION_CACHE_CB_T *cb) |
| Sets the callback which is invoked for all session cache requests. More... | |
| SSL_SESSION_CACHE_CB_T* R_CDECL | SSL_CTX_get_session_cache_cb (SSL_CTX *ctx) |
| Returns the callback which is invoked for all session cache requests. More... | |
| int R_CDECL | SSL_CTX_set_session_cache_cb_arg (SSL_CTX *ctx, void *cb_arg) |
| Sets a pointer argument that can be accessed by the session cache callback through its argument list. More... | |
| void* R_CDECL | SSL_CTX_get_session_cache_cb_arg (SSL_CTX *ctx) |
| Returns the pointer argument that is passed to the session cache callback. More... | |
| int R_CDECL | SSL_CTX_simple_session_cb (SSL_CTX *ctx, int cmd, SSL_SESSION **sess_ptr, void *arg) |
| Provides a minimal session cache. More... | |
| int R_CDECL | SSL_CTX_simple_session_init (SSL_SIMPLE_SESSION_CACHE **cache_ptr) |
| Initializes the single session cache. More... | |
| int R_CDECL | SSL_CTX_simple_session_final (SSL_SIMPLE_SESSION_CACHE **cache_ptr) |
| Finalizes the session cache by clearing all the fields of the session cache and freeing the cache memory. More... | |
|
|
A type of callback function that retrieves a session from an external cache based on an unique session identifier.
|
|
|
A type of callback function that adds a new session into an external cache.
|
|
|
A type of callback function that removes a session from an external cache.
|
|
|
Returns the callback which is invoked for all session cache requests.
|
|
|
Returns the pointer argument that is passed to the session cache callback.
|
|
|
Returns the session cache mode for the SSL_CTX ctx.
|
|
|
Returns the session identifier timeout period inherited by the SSL structures created using the SSL_CTX ctx.
|
|
||||||||||||
|
Sets the callback which is invoked for all session cache requests.
|
|
||||||||||||
|
Sets a pointer argument that can be accessed by the session cache callback through its argument list.
|
|
||||||||||||
|
Sets the session cache mode for the SSL_CTX ctx.
|
|
||||||||||||
|
Sets the timeout period for the SSL_CTX ctx. Session identifiers are only valid for certain periods. The timeout period is set on a per session identifier basis, so changing the timeout will not affect the timeout on existing session identifiers. The timeout is in effect inherited from the SSL_CTX by an SSL structure that is created against it.
|
|
||||||||||||||||||||
|
Provides a minimal session cache. The minimal session cache holds a single session in the cache. This is useful for a single peer making multiple simultaneous or consecutive connections. The implementation is thread-safe if a locking callback is available. This callback must be installed by the application before it will be used and the cache structure must be installed as the argument for this callback.
|
|
|
Finalizes the session cache by clearing all the fields of the session cache and freeing the cache memory.
|
|
|
Initializes the single session cache. The session cache has memory allocated and the fields are set to initial values. The session cache should be set to be the argument for the session cache callback.
|
|
|
Returns the default timeout period (in seconds) for SSL sessions created by a particular SSL version (that is, SSLv2, SSLv3 or TLSv1). When an SSL_CTX is created, its session identifier timeout is the default value for the SSL version.
|