openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_KeyUpdate()

int32_t HITLS_KeyUpdate ( HITLS_Ctx ctx,
uint32_t  updateType 
)

Set the keyupdate type of the current context and send the keyupdate message.

参数
ctx[IN] TLS connection handle
updateType[IN] keyupdate type
返回值
HITLS_SUCCESS,ifsuccessful. For other error codes, see hitls_error.h.