Home
last modified time | relevance | path

Searched refs:certCount (Results 1 – 15 of 15) sorted by relevance

/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/src/
Dcm_pfx.c29 int32_t ret = CM_SUCCESS; uint32_t certCount = 0; in CmGetAppCertChain() local
50 certCount++; in CmGetAppCertChain()
59 certCount++; in CmGetAppCertChain()
74 appCert->certCount = certCount; in CmGetAppCertChain()
/base/web/webview/ohos_adapter/interfaces/
Dcert_mgr_adapter.h32 virtual int32_t GetSytemRootCertData(uint32_t certCount, uint8_t* certData) = 0;
36 virtual int32_t GetUserRootCertData(uint32_t certCount, uint8_t* certData) = 0;
/base/web/webview/ohos_adapter/cert_mgr_adapter/src/
Dcert_mgr_adapter_impl.cpp125 int32_t CertManagerAdapterImpl::GetSytemRootCertData(uint32_t certCount, uint8_t* certData) in GetSytemRootCertData() argument
153 if (certCount > certList->certsCount) { in GetSytemRootCertData()
154 WVLOG_E("GetSytemRootCertData, cert count invailed, cert count = %{public}d ", certCount); in GetSytemRootCertData()
158 char *uri = certList->certAbstract[certCount].uri; in GetSytemRootCertData()
207 int32_t CertManagerAdapterImpl::GetUserRootCertData(uint32_t certCount, uint8_t* certData) in GetUserRootCertData() argument
235 if (certCount > certList->certsCount) { in GetUserRootCertData()
236 WVLOG_E("GetUserRootCertData, cert count invailed, cert count = %{public}d ", certCount); in GetUserRootCertData()
240 char *uri = certList->certAbstract[certCount].uri; in GetUserRootCertData()
/base/web/webview/ohos_adapter/cert_mgr_adapter/include/
Dcert_mgr_adapter_impl.h32 int32_t GetSytemRootCertData(uint32_t certCount, uint8_t* certData) override;
36 int32_t GetUserRootCertData(uint32_t certCount, uint8_t* certData) override;
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_query.c188 void CmFreeCertFiles(struct CertFileInfo *cFileList, uint32_t certCount) in CmFreeCertFiles() argument
194 for (uint32_t i = 0; i < certCount; i++) { in CmFreeCertFiles()
249 static int32_t CreateCertFile(struct CertFileInfo *cFileList, const char *path, uint32_t *certCount) in CreateCertFile() argument
274 uint32_t i = *certCount; in CreateCertFile()
292 uint32_t realCount = i - *certCount; in CreateCertFile()
293 *certCount += realCount; in CreateCertFile()
316 uint32_t certCount = 0; in CreateCertFileList() local
320 ret = CreateCertFile(cFileList, (char *)uidPath[i].data, &certCount); in CreateCertFileList()
323 CmFreeCertFiles(cFileList, certCount); in CreateCertFileList()
328 certFileList->size = certCount; in CreateCertFileList()
[all …]
Dcert_manager.c154 …indObjectCert(const struct CmBlob *certUri, const struct CmMutableBlob *fNames, uint32_t certCount) in FindObjectCert() argument
156 for (uint32_t i = 0; i < certCount; i++) { in FindObjectCert()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/
Dcert_manager_query.h41 void CmFreeCertFiles(struct CertFileInfo *cFileList, uint32_t certCount);
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/
Dcm_ipc_service_serialization.c121 …ic int32_t CmGetCertListPack(const struct CertBlob *certBlob, uint32_t *status, uint32_t certCount, in CmGetCertListPack() argument
133 int32_t ret = CopyUint32ToBuffer(certCount, certificateList, &offset); in CmGetCertListPack()
139 for (uint32_t i = 0; i < certCount; i++) { in CmGetCertListPack()
Dcm_ipc_service.c491 int32_t ret = CopyUint32ToBuffer(appCert->certCount, certificateInfo, offset); in CopyCertificateInfoToBuffer()
515 uint32_t certCount = (((certBlob->size > 0) && (certBlob->data != NULL)) ? 1 : 0); in CopyCertSize() local
517 int32_t ret = CopyUint32ToBuffer(certCount, certificateInfo, offset); in CopyCertSize()
522 if (certCount == 0) { in CopyCertSize()
/base/security/certificate_manager/test/unittest/module_test/src/
Dcm_log_test.cpp57 uint32_t certCount; member
73 outData->size = sizeof(input->certCount) - 1; in ConstructBuf()
76 …_s(outData->data + offset, outData->size - offset, &input->certCount, sizeof(input->certCount)) !=… in ConstructBuf()
79 offset += sizeof(input->certCount); in ConstructBuf()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
Dhks_teec.h67 …t ProvisionVerify(TEEC_Operation *operation, const struct HksBlob *challengeIn, uint32_t certCount,
/base/security/certificate_manager/interfaces/kits/napi/include/
Dcm_napi_common.h71 napi_env env, const struct CertAbstract *certAbstract, const uint32_t certCount);
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_common.cpp189 …eCertAbstractArray(napi_env env, const struct CertAbstract *certAbstract, const uint32_t certCount) in GenerateCertAbstractArray() argument
191 if (certCount == 0 || certAbstract == nullptr) { in GenerateCertAbstractArray()
196 for (uint32_t i = 0; i < certCount; i++) { in GenerateCertAbstractArray()
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_cert_utils.cpp362 napi_value certCount = nullptr; in GetCertChainFromValue() local
363 status = napi_get_named_property(env, obj, CERT_TAG_COUNT.c_str(), &certCount); in GetCertChainFromValue()
373 napi_get_value_uint32(env, certCount, reinterpret_cast<uint32_t *>(&(*certChainData)->count)); in GetCertChainFromValue()
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/
Dcm_type.h292 uint32_t certCount; member