Set the user-specific session ID ctx of the HiTLS link, only on the server.
- Attention
- session id ctx is different from sessio id, session recovery can be performed only after session id ctx matching.
- Parameters
-
ctx | [OUT] Config context. |
sessionIdCtx | [IN] Session ID Context. |
len | [IN] Session ID context length, which cannot exceed 32 bytes. |
- Return values
-
HITLS_SUCCESS,if | successful. For details about other error codes, see hitls_error.h. |