openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CERT_KeyFormUserKeyCallBack

typedef int32_t(* CERT_KeyFormUserKeyCallBack) (HITLS_CERT_USER_Key *srcKey, HITLS_CERT_Key **desKey)

Callback for converting the key of the upper layer user (adaptation layer) to the key of the bottom layer hitls.

Parameters
srcKey[IN] Key type used by upper-layer users.
desKey[OUT] Key type used by the HiTLS TLS layer.
Return values
HITLS_SUCCESSindicates success. Other values are considered as failure.