openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_SetCheckPriKeyCb()

int32_t HITLS_CFG_SetCheckPriKeyCb ( HITLS_Config config,
CERT_CheckPrivateKeyCallBack  checkPrivateKey 
)

Register the private key with the config file and certificate matching Check Interface.

参数
config[IN/OUT] Config context
checkPrivateKeyAPI registration
返回值
HITLS_SUCCESS.
Forother error codes, see hitls_error.h.