Searched refs:MAX_LEN_CERTIFICATE_CHAIN (Results 1 – 11 of 11) sorted by relevance
/base/security/certificate_manager/test/unittest/src/ |
D | cm_app_cert_test.cpp | 298 certificate.credData.data = static_cast<uint8_t *>(CmMalloc(MAX_LEN_CERTIFICATE_CHAIN)); 300 certificate.credData.size = MAX_LEN_CERTIFICATE_CHAIN; 329 certificate.credData.data = static_cast<uint8_t *>(CmMalloc(MAX_LEN_CERTIFICATE_CHAIN)); 331 certificate.credData.size = MAX_LEN_CERTIFICATE_CHAIN; 360 firstcertificate.credData.data = static_cast<uint8_t *>(CmMalloc(MAX_LEN_CERTIFICATE_CHAIN)); 362 firstcertificate.credData.size = MAX_LEN_CERTIFICATE_CHAIN; 369 secondcertificate.credData.data = static_cast<uint8_t *>(CmMalloc(MAX_LEN_CERTIFICATE_CHAIN)); 371 secondcertificate.credData.size = MAX_LEN_CERTIFICATE_CHAIN; 394 certificate.credData.data = static_cast<uint8_t *>(CmMalloc(MAX_LEN_CERTIFICATE_CHAIN)); 396 certificate.credData.size = MAX_LEN_CERTIFICATE_CHAIN;
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
D | cm_napi_get_app_cert_info_common.cpp | 112 credential->credData.data = static_cast<uint8_t *>(CmMalloc(MAX_LEN_CERTIFICATE_CHAIN)); in InitAppCert() 117 …(void)memset_s(credential->credData.data, MAX_LEN_CERTIFICATE_CHAIN, 0, MAX_LEN_CERTIFICATE_CHAIN); in InitAppCert() 118 credential->credData.size = MAX_LEN_CERTIFICATE_CHAIN; in InitAppCert()
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/src/ |
D | cm_pfx.c | 68 if (memcpy_s(appCert->appCertdata, MAX_LEN_CERTIFICATE_CHAIN, data, len) != EOK) { in CmGetAppCertChain() 92 if (p12Cert == NULL || p12Cert->data == NULL || p12Cert->size > MAX_LEN_CERTIFICATE_CHAIN) { in CmParsePkcs12Cert()
|
/base/web/webview/ohos_adapter/cert_mgr_adapter/src/ |
D | cert_mgr_adapter_impl.cpp | 96 return MAX_LEN_CERTIFICATE_CHAIN; in GetAppCertMaxSize() 267 cred.credData.size = MAX_LEN_CERTIFICATE_CHAIN; in GetAppCert() 268 cred.credData.data = static_cast<uint8_t *>(malloc(MAX_LEN_CERTIFICATE_CHAIN)); in GetAppCert() 284 …if (memcpy_s(certData, MAX_LEN_CERTIFICATE_CHAIN, cred.credData.data, cred.credData.size) != EOK) { in GetAppCert()
|
/base/security/certificate_manager/test/unittest/common_permission_test/ |
D | cm_common_permission_test.cpp | 213 cred.credData.size = MAX_LEN_CERTIFICATE_CHAIN; 214 cred.credData.data = static_cast<uint8_t *>(malloc(MAX_LEN_CERTIFICATE_CHAIN)); 236 cred.credData.size = MAX_LEN_CERTIFICATE_CHAIN; 237 cred.credData.data = static_cast<uint8_t *>(malloc(MAX_LEN_CERTIFICATE_CHAIN));
|
/base/security/certificate_manager/test/unittest/inner_permission_test/ |
D | cm_inner_permission_test.cpp | 206 cred.credData.size = MAX_LEN_CERTIFICATE_CHAIN; 207 cred.credData.data = static_cast<uint8_t *>(malloc(MAX_LEN_CERTIFICATE_CHAIN)); 431 cred.credData.size = MAX_LEN_CERTIFICATE_CHAIN; 432 cred.credData.data = static_cast<uint8_t *>(malloc(MAX_LEN_CERTIFICATE_CHAIN));
|
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/ |
D | cm_type.h | 38 #define MAX_LEN_CERTIFICATE_CHAIN (3 * MAX_LEN_CERTIFICATE) macro 295 uint8_t appCertdata[MAX_LEN_CERTIFICATE_CHAIN];
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/ |
D | cm_ipc_service.c | 480 if (certBlob->size < (sizeof(struct AppCert) - MAX_LEN_CERTIFICATE_CHAIN)) { in CopyCertificateInfoToBuffer() 486 … if ((certBlob->size - (sizeof(struct AppCert) - MAX_LEN_CERTIFICATE_CHAIN)) < appCert->certSize) { in CopyCertificateInfoToBuffer() 535 sizeof(uint32_t) + sizeof(uint32_t) + sizeof(uint32_t) + MAX_LEN_CERTIFICATE_CHAIN; in CmAppCertificateInfoPack()
|
/base/security/certificate_manager/test/unittest/module_test/src/ |
D | cm_cert_parse_test.cpp | 483 …struct CmBlob certInfo = { MAX_LEN_CERTIFICATE_CHAIN + 1, const_cast<uint8_t *>(g_rsa2048P12CertIn…
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_app_cert_process.c | 358 certBlob.size = sizeof(struct AppCert) - MAX_LEN_CERTIFICATE_CHAIN + appCert->certSize; in StoreAppCert()
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/ |
D | cm_ipc_client.c | 440 sizeof(uint32_t) + sizeof(uint32_t) + sizeof(uint32_t) + MAX_LEN_CERTIFICATE_CHAIN; in GetAppCertInitBlob()
|