openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetCloseCheckKeyUsage()

int32_t HITLS_SetCloseCheckKeyUsage ( HITLS_Ctx ctx,
bool  isClose 
)

Disables the verification of keyusage in the certificate. This function is enabled by default.

参数
ctx[OUT] config context
close[IN] Sets whether to disable verification.
返回值
HITLS_NULL_INPUT,theinput parameter pointer is NULL.
HITLS_SUCCESS,ifsuccessful.