Home
last modified time | relevance | path

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

/base/web/webview/ohos_adapter/cert_mgr_adapter/src/
Dcert_mgr_adapter_impl.cpp52 certInfo->certInfo.data = static_cast<uint8_t *>(malloc(MAX_LEN_CERTIFICATE)); in InitCertInfo()
56 certInfo->certInfo.size = MAX_LEN_CERTIFICATE; in InitCertInfo()
91 return MAX_LEN_CERTIFICATE; in GetCertMaxSize()
169 …if (memcpy_s(certData, MAX_LEN_CERTIFICATE, certInfo.certInfo.data, certInfo.certInfo.size) != EOK… in GetSytemRootCertData()
251 …if (memcpy_s(certData, MAX_LEN_CERTIFICATE, certInfo.certInfo.data, certInfo.certInfo.size) != EOK… in GetUserRootCertData()
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/
Dcm_type.h36 #define MAX_LEN_CERTIFICATE 8196 macro
38 #define MAX_LEN_CERTIFICATE_CHAIN (3 * MAX_LEN_CERTIFICATE)
237 uint8_t certData[MAX_LEN_CERTIFICATE];
/base/security/certificate_manager/test/unittest/src/
Dcm_test_common.cpp59 certInfo->certInfo.data = static_cast<uint8_t *>(CmMalloc(MAX_LEN_CERTIFICATE)); in InitCertInfo()
63 certInfo->certInfo.size = MAX_LEN_CERTIFICATE; in InitCertInfo()
94 (*cInfo)->certInfo.data = static_cast<uint8_t *>(CmMalloc(MAX_LEN_CERTIFICATE)); in InitUserCertInfo()
98 (*cInfo)->certInfo.size = MAX_LEN_CERTIFICATE; in InitUserCertInfo()
/base/security/certificate_framework/interfaces/innerkits/include/
Dcf_type.h141 #define MAX_LEN_CERTIFICATE 65536 macro
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_get_system_cert_info.cpp135 context->certificate->certInfo.data = static_cast<uint8_t *>(CmMalloc(MAX_LEN_CERTIFICATE)); in GetCertInfoExecute()
141 context->certificate->certInfo.size = MAX_LEN_CERTIFICATE; in GetCertInfoExecute()
/base/security/certificate_framework/frameworks/adapter/v2.0/src/
Dcf_adapter_cert_openssl.c85 if ((CfCheckEncodingBlob(inData, MAX_LEN_CERTIFICATE) != CF_SUCCESS) || (object == NULL)) { in CfOpensslCreateCert()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/
Dcm_ipc_service_serialization.c196 uint32_t buffSize = sizeof(uint32_t) + MAX_LEN_CERTIFICATE + sizeof(uint32_t) + in CmServiceGetCertInfoPack()
Dcm_ipc_service.c37 #define MAX_LEN_CERTIFICATE 8196 macro
/base/security/certificate_framework/test/unittest/cf_adapter_test/src/
Dcf_adapter_cert_test.cpp174 …CfEncodingBlob invalCert005 = { const_cast<uint8_t *>(g_certData03), MAX_LEN_CERTIFICATE + 1, CF_F…
179 invalCert005.len = MAX_LEN_CERTIFICATE; /* cert size equal max */
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/src/
Dcm_x509.c37 if (certBuf == NULL || size > MAX_LEN_CERTIFICATE) { in InitCertContext()
/base/security/certificate_manager/test/unittest/module_test/src/
Dcm_cert_parse_test.cpp82 X509 *x509 = InitCertContext(certBuf, MAX_LEN_CERTIFICATE + 1);
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
Dcm_ipc_client.c99 uint32_t buffSize = sizeof(uint32_t) + MAX_LEN_CERTIFICATE + sizeof(uint32_t) + in GetCertInfoInitOutData()