Home
last modified time | relevance | path

Searched refs:MAX_LEN_SUBJECT_NAME (Results 1 – 7 of 7) sorted by relevance

/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/
Dcm_type.h45 #define MAX_LEN_SUBJECT_NAME 256 macro
217 char subjectName[MAX_LEN_SUBJECT_NAME];
224 char subjectName[MAX_LEN_SUBJECT_NAME];
245 char subjectName[MAX_LEN_SUBJECT_NAME];
272 char type[MAX_LEN_SUBJECT_NAME];
281 char type[MAX_LEN_SUBJECT_NAME];
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_query.c346 certBlob->subjectName[i].size = MAX_LEN_SUBJECT_NAME; in CmMallocCertBlob()
347 certBlob->subjectName[i].data = (uint8_t *)CMMalloc(MAX_LEN_SUBJECT_NAME); in CmMallocCertBlob()
351 … (void)memset_s(certBlob->subjectName[i].data, MAX_LEN_SUBJECT_NAME, 0, MAX_LEN_SUBJECT_NAME); in CmMallocCertBlob()
442 …t subjectLen = GetX509SubjectNameLongFormat(cert, (char *)subjectName->data, MAX_LEN_SUBJECT_NAME); in CmGetCertSubjectName()
/base/security/certificate_manager/test/unittest/module_test/src/
Dcm_log_test.cpp417 … true, certificateList.certsCount, true, MAX_LEN_SUBJECT_NAME + 1, false, 0, false, 0, false, 0
442 true, certificateList.certsCount, true, MAX_LEN_SUBJECT_NAME, false, 0, false, 0, false, 0
467 true, certificateList.certsCount, true, MAX_LEN_SUBJECT_NAME, true, 0, false, 0, false, 0
493 …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
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
Dcm_ipc_client_serialization.c95 …if (memcpy_s(certificateList->certAbstract[i].subjectName, MAX_LEN_SUBJECT_NAME, blob.data, blob.s… in CmCertificateListUnpackFromService()
133 … subjectNameLen = GetX509SubjectNameLongFormat(x509cert, cInfo->subjectName, MAX_LEN_SUBJECT_NAME); in GetInfoFromX509Cert()
Dcm_ipc_client.c43 …uint32_t buffSize = sizeof(uint32_t) + (sizeof(uint32_t) + MAX_LEN_SUBJECT_NAME + sizeof(uint32_t)… in GetCertListInitOutData()
298 …uint32_t buffSize = sizeof(uint32_t) + (sizeof(uint32_t) + MAX_LEN_SUBJECT_NAME + sizeof(uint32_t)… in GetAppCertListInitBlob()
355 …if (memcpy_s(certificateList->credentialAbstract[i].type, MAX_LEN_SUBJECT_NAME, blob.data, blob.si… in CmAppCertListUnpackFromService()
438 uint32_t buffSize = sizeof(uint32_t) + sizeof(uint32_t) + MAX_LEN_SUBJECT_NAME + in GetAppCertInitBlob()
460 if (memcpy_s(certificateInfo->type, MAX_LEN_SUBJECT_NAME, blob.data, blob.size) != EOK) { in CmGetAppCertFromBuffer()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/
Dcm_ipc_service_serialization.c125 …uint32_t buffSize = sizeof(uint32_t) + (sizeof(uint32_t) + MAX_LEN_SUBJECT_NAME + sizeof(uint32_t)… in CmGetCertListPack()
Dcm_ipc_service.c377 …uint32_t buffSize = sizeof(uint32_t) + (sizeof(uint32_t) + MAX_LEN_SUBJECT_NAME + sizeof(uint32_t)… in CmServiceGetAppCertListPack()
393 uint8_t typeBuf[MAX_LEN_SUBJECT_NAME] = {0}; in CmServiceGetAppCertListPack()
533 uint32_t buffSize = sizeof(uint32_t) + sizeof(uint32_t) + MAX_LEN_SUBJECT_NAME + in CmAppCertificateInfoPack()
547 uint8_t typeBuf[MAX_LEN_SUBJECT_NAME] = {0}; in CmAppCertificateInfoPack()