openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetSecurityLevel()

int32_t HITLS_SetSecurityLevel ( HITLS_Ctx ctx,
int32_t  securityLevel 
)

Set the link security level.

Parameters
ctx[IN/OUT] Ctx context
securityLevel[IN] Security level
Return values
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h