/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/src/ |
D | cm_pfx.c | 29 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/ |
D | cert_mgr_adapter.h | 32 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/ |
D | cert_mgr_adapter_impl.cpp | 125 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/ |
D | cert_mgr_adapter_impl.h | 32 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/ |
D | cert_manager_query.c | 188 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 …]
|
D | cert_manager.c | 154 …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/ |
D | cert_manager_query.h | 41 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/ |
D | cm_ipc_service_serialization.c | 121 …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()
|
D | cm_ipc_service.c | 491 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/ |
D | cm_log_test.cpp | 57 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/ |
D | hks_teec.h | 67 …t ProvisionVerify(TEEC_Operation *operation, const struct HksBlob *challengeIn, uint32_t certCount,
|
/base/security/certificate_manager/interfaces/kits/napi/include/ |
D | cm_napi_common.h | 71 napi_env env, const struct CertAbstract *certAbstract, const uint32_t certCount);
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
D | cm_napi_common.cpp | 189 …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/ |
D | napi_cert_utils.cpp | 362 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/ |
D | cm_type.h | 292 uint32_t certCount; member
|