openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_LoadKeyFile()

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

Load the private key of the device certificate from the file.

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