openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_LoadCertFile()

int32_t HITLS_CFG_LoadCertFile ( HITLS_Config config,
const char *  file,
HITLS_ParseFormat  format 
)

Load the device certificate from the file.

参数
config[OUT] TLS link configuration
file[IN] File name
type[IN] File format
返回值
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.