openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SESS_GetSessionIdCtx()

int32_t HITLS_SESS_GetSessionIdCtx ( const HITLS_Session sess,
uint8_t *  sessionIdCtx,
uint32_t *  sessionIdCtxSize 
)

Obtain the session ID ctx.

参数
sess[IN] Session information handle.
sessionIdCtx[OUT] Session ID Context.
sessionIdCtxSize[OUT] Session id Context length.
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.