Obtain user data from the HiTLS context. This interface is called in the callback registered with the HiTLS.
- 注意
- must be called before HITLS_Connect and HITLS_Accept. The life cycle of the user data pointer must be longer than the life cycle of the TLS object.
- 参数
-
ctx | [OUT] TLS connection handle. |
- 返回值
-
HITLS_SUCCESS,if | successful. |
HITLS_NULL_INPUT,the | TLS object pointer of the input parameter is null. |