Searched refs:signBuf (Results 1 – 2 of 2) sorted by relevance
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | app_verify.c | 1061 static Pkcs7 *GetBinSignPkcs(const char *signBuf, int len) in GetBinSignPkcs() argument 1068 int ret = PKCS7_ParseSignedData((unsigned char *)signBuf, (size_t)len, pkcs7); in GetBinSignPkcs() 1098 char *signBuf = GetSignBlockByType(signInfo, fp, SIGNATURE_BLOCK_TYPE, &blockLen, &blockHead); in VerifyBinSign() local 1099 P_NULL_RETURN_RET_WTTH_LOG(signBuf, V_ERR_GET_SIGN_BLOCK); in VerifyBinSign() 1101 Pkcs7 *pkcs7 = GetBinSignPkcs(signBuf, (size_t)blockLen); in VerifyBinSign() 1104 APPV_FREE(signBuf); in VerifyBinSign() 1142 APPV_FREE(signBuf); in VerifyBinSign()
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
D | cm_napi_sign_verify.cpp | 540 napi_value signBuf = GenerateArrayBuffer(env, sign->data, sign->size); in ConvertResultSignature() local 541 if (signBuf != nullptr) { in ConvertResultSignature() 542 …NAPI_CALL(env, napi_create_typedarray(env, napi_uint8_array, sign->size, signBuf, 0, &signResultNa… in ConvertResultSignature()
|