openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CERT_VerifyCertChainCallBack

typedef int32_t(* CERT_VerifyCertChainCallBack) (HITLS_Ctx *ctx, HITLS_CERT_Store *store, HITLS_CERT_X509 **certList, uint32_t num)

Verify the certificate chain

参数
ctx[IN] TLS link object
store[IN] Certificate store.
certList[IN] Certificate chain, a pointer array, each element indicates a certificate. The first element indicates the device certificate.
num[IN] Certificate chain length.
返回值
HITLS_SUCCESSindicates success. Other values are considered as failure.