Searched refs:MAX_LEN_CERTIFICATE (Results 1 – 12 of 12) sorted by relevance
/base/web/webview/ohos_adapter/cert_mgr_adapter/src/ |
D | cert_mgr_adapter_impl.cpp | 52 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/ |
D | cm_type.h | 36 #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/ |
D | cm_test_common.cpp | 59 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/ |
D | cf_type.h | 141 #define MAX_LEN_CERTIFICATE 65536 macro
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
D | cm_napi_get_system_cert_info.cpp | 135 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/ |
D | cf_adapter_cert_openssl.c | 85 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/ |
D | cm_ipc_service_serialization.c | 196 uint32_t buffSize = sizeof(uint32_t) + MAX_LEN_CERTIFICATE + sizeof(uint32_t) + in CmServiceGetCertInfoPack()
|
D | cm_ipc_service.c | 37 #define MAX_LEN_CERTIFICATE 8196 macro
|
/base/security/certificate_framework/test/unittest/cf_adapter_test/src/ |
D | cf_adapter_cert_test.cpp | 174 …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/ |
D | cm_x509.c | 37 if (certBuf == NULL || size > MAX_LEN_CERTIFICATE) { in InitCertContext()
|
/base/security/certificate_manager/test/unittest/module_test/src/ |
D | cm_cert_parse_test.cpp | 82 X509 *x509 = InitCertContext(certBuf, MAX_LEN_CERTIFICATE + 1);
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/ |
D | cm_ipc_client.c | 99 uint32_t buffSize = sizeof(uint32_t) + MAX_LEN_CERTIFICATE + sizeof(uint32_t) + in GetCertInfoInitOutData()
|