Home
last modified time | relevance | path

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

/base/security/certificate_manager/test/unittest/src/
Dcm_app_cert_test.cpp132 char retUriBuf[MAX_LEN_URI] = {0};
156 uint8_t keyUriBuf[MAX_LEN_URI] = {0};
185 uint8_t keyUriBuf[MAX_LEN_URI] = {0};
206 uint8_t keyUriBuf[MAX_LEN_URI] = {0};
224 uint8_t keyUriBuf[MAX_LEN_URI] = {0};
248 uint8_t keyUriBuf[MAX_LEN_URI] = {0};
266 uint8_t keyUriBuf[MAX_LEN_URI] = {0};
290 uint8_t uriBuf[MAX_LEN_URI] = {0};
320 uint8_t uriBuf[MAX_LEN_URI] = {0};
352 uint8_t uriBuf[MAX_LEN_URI] = {0};
[all …]
Dcm_set_status_test.cpp25 char uri[MAX_LEN_URI];
Dcm_test_common.cpp300 uint8_t uriData[MAX_LEN_URI] = {0}; in TestGenerateAppCert()
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/
Dcm_type.h42 #define MAX_LEN_URI 64 macro
212 char uri[MAX_LEN_URI];
221 char uri[MAX_LEN_URI];
241 char uri[MAX_LEN_URI];
274 char keyUri[MAX_LEN_URI];
283 char keyUri[MAX_LEN_URI];
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_install_app_cert_common.cpp136 keyUri->data = static_cast<uint8_t *>(CmMalloc(MAX_LEN_URI)); in InitKeyUri()
142 (void)memset_s(keyUri->data, MAX_LEN_URI, 0, MAX_LEN_URI); in InitKeyUri()
143 keyUri->size = MAX_LEN_URI; in InitKeyUri()
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
Dcm_ipc_client_serialization.c113 … if (memcpy_s(certificateList->certAbstract[i].uri, MAX_LEN_URI, blob.data, blob.size) != EOK) { in CmCertificateListUnpackFromService()
234 (void)memset_s(cInfo->uri, MAX_LEN_URI, 0, MAX_LEN_URI); /* uri */ in CmCertificateInfoUnpackFromService()
235 if (memcpy_s(cInfo->uri, MAX_LEN_URI, certUri->data, certUri->size) != EOK) { in CmCertificateInfoUnpackFromService()
Dcm_ipc_client.c44 … sizeof(uint32_t) + MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in GetCertListInitOutData()
299 MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in GetAppCertListInitBlob()
365 …if (memcpy_s(certificateList->credentialAbstract[i].keyUri, MAX_LEN_URI, blob.data, blob.size) != … in CmAppCertListUnpackFromService()
439 sizeof(uint32_t) + MAX_LEN_CERT_ALIAS + sizeof(uint32_t) + MAX_LEN_URI + in GetAppCertInitBlob()
470 if (memcpy_s(certificateInfo->keyUri, MAX_LEN_URI, blob.data, blob.size) != EOK) { in CmGetAppCertFromBuffer()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_query.c339 certBlob->uri[i].size = MAX_LEN_URI; in CmMallocCertBlob()
340 certBlob->uri[i].data = (uint8_t *)CMMalloc(MAX_LEN_URI); in CmMallocCertBlob()
344 (void)memset_s(certBlob->uri[i].data, MAX_LEN_URI, 0, MAX_LEN_URI); in CmMallocCertBlob()
473 if (memcpy_s(certBlob->uri[i].data, MAX_LEN_URI, cFileList[i].fileName.data, in CmGetCertListInfo()
Dcert_manager.c311 char uriBuf[MAX_LEN_URI] = {0}; in CmRemoveSpecifiedAppCert()
485 if (certUri->size > MAX_LEN_URI) { in CmWriteUserCert()
Dcert_manager_status.c796 char fn[MAX_LEN_URI] = {0}; in CertManagerStatusFile()
797 if (memcpy_s(fn, MAX_LEN_URI, certFile.fileName->data, certFile.fileName->size) != EOK) { in CertManagerStatusFile()
/base/security/certificate_manager/test/unittest/multi_thread_test/src/
Dcm_app_cert_multi_thread_test.cpp118 uint8_t uriBuf[MAX_LEN_URI] = {0};
/base/security/certificate_manager/test/unittest/module_test/src/
Dcm_log_test.cpp493 …true, certificateList.certsCount, true, MAX_LEN_SUBJECT_NAME, true, 0, true, MAX_LEN_URI + 1, fals…
518 … true, certificateList.certsCount, true, MAX_LEN_SUBJECT_NAME, true, 0, true, MAX_LEN_URI, false, 0
543 … true, 1, true, MAX_LEN_SUBJECT_NAME, true, 0, true, MAX_LEN_URI, true, MAX_LEN_CERT_ALIAS + 1
781 uint8_t certUriData[MAX_LEN_URI + 1] = "oh:t=ak;o=Test031;a=100;u=100"; /* uri len invalid */
/base/web/webview/test/unittest/ohos_adapter/cert_mgr_adapter_test/
Dcert_mgr_adapter_test.cpp368 uint8_t data[MAX_LEN_URI] = {0};
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/
Dcm_ipc_service.c355 char uriBuf[MAX_LEN_URI] = {0}; in CmCertListGetAppCertInfo()
378 MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in CmServiceGetAppCertListPack()
395 uint8_t certUriBuf[MAX_LEN_URI] = {0}; in CmServiceGetAppCertListPack()
534 sizeof(uint32_t) + MAX_LEN_CERT_ALIAS + sizeof(uint32_t) + MAX_LEN_URI + in CmAppCertificateInfoPack()
548 uint8_t certUriBuf[MAX_LEN_URI] = {0}; in CmAppCertificateInfoPack()
Dcm_ipc_service_serialization.c126 … sizeof(uint32_t) + MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in CmGetCertListPack()