Home
last modified time | relevance | path

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

/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/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/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};
251 uint8_t uriBuf[MAX_LEN_URI] = {0};
281 uint8_t uriBuf[MAX_LEN_URI] = {0};
313 uint8_t uriBuf[MAX_LEN_URI] = {0};
385 uint8_t uriBuf[MAX_LEN_URI] = {0};
423 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/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.c114 … if (memcpy_s(certificateList->certAbstract[i].uri, MAX_LEN_URI, blob.data, blob.size) != EOK) { in CmCertificateListUnpackFromService()
235 (void)memset_s(cInfo->uri, MAX_LEN_URI, 0, MAX_LEN_URI); /* uri */ in CmCertificateInfoUnpackFromService()
236 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()
438 sizeof(uint32_t) + MAX_LEN_CERT_ALIAS + sizeof(uint32_t) + MAX_LEN_URI + in GetAppCertInitBlob()
469 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()
468 if (memcpy_s(certBlob->uri[i].data, MAX_LEN_URI, cFileList[i].fileName.data, in CmGetCertListInfo()
Dcert_manager.c310 char uriBuf[MAX_LEN_URI] = {0}; in CmRemoveSpecifiedAppCert()
484 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/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/
Dcm_ipc_service.c350 char uriBuf[MAX_LEN_URI] = {0}; in CmCertListGetAppCertInfo()
373 MAX_LEN_URI + sizeof(uint32_t) + MAX_LEN_CERT_ALIAS) * MAX_COUNT_CERTIFICATE; in CmServiceGetAppCertListPack()
390 uint8_t certUriBuf[MAX_LEN_URI] = {0}; in CmServiceGetAppCertListPack()
519 sizeof(uint32_t) + MAX_LEN_CERT_ALIAS + sizeof(uint32_t) + MAX_LEN_URI + in CmAppCertificateInfoPack()
533 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()