openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_SetCloseCheckKeyUsage()

int32_t HITLS_CFG_SetCloseCheckKeyUsage ( HITLS_Config config,
bool  isClose 
)

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

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