openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CERT_CheckPrivateKeyCallBack

typedef int32_t(* CERT_CheckPrivateKeyCallBack) (const HITLS_Config *config, HITLS_CERT_X509 *cert, HITLS_CERT_Key *key)

Check whether the private key matches the certificate.

参数
config[IN] TLS link configuration.
cert[IN] Certificate.
key[IN] Private key.
返回值
HITLS_SUCCESSindicates success. Other values are considered as failure.