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.

Parameters
ctx[IN] TLS connection handle
updateType[IN] keyupdate type
Return values
HITLS_SUCCESS,ifsuccessful. For other error codes, see hitls_error.h.