openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetSecurityLevel()

int32_t HITLS_SetSecurityLevel ( HITLS_Ctx ctx,
int32_t  securityLevel 
)

Set the link security level

参数
ctx[IN/OUT] Ctx context
securityLevel[IN] Security level
返回值
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h