Searched refs:CM_SYSTEM_TRUSTED_STORE (Results 1 – 17 of 17) sorted by relevance
/base/security/certificate_manager/test/unittest/src/ |
D | cm_set_status_test.cpp | 80 int32_t ret = CmSetCertStatus(&uriBlob, CM_SYSTEM_TRUSTED_STORE, g_expectList[0].inparamStatus); 83 ret = CmSetCertStatus(&uriBlob, CM_SYSTEM_TRUSTED_STORE, true); 99 … int32_t ret = CmSetCertStatus(&uriBlob, CM_SYSTEM_TRUSTED_STORE, g_expectList[i].inparamStatus); 107 ret = CmGetCertInfo(&uriBlob, CM_SYSTEM_TRUSTED_STORE, &certDetailInfo); 114 ret = CmSetCertStatus(&uriBlob, CM_SYSTEM_TRUSTED_STORE, true); 131 int32_t ret = CmGetCertList(CM_SYSTEM_TRUSTED_STORE, certlist); 139 ret = CmSetCertStatus(&uriBlob, CM_SYSTEM_TRUSTED_STORE, false); 147 ret = CmSetCertStatus(&uriBlob2, CM_SYSTEM_TRUSTED_STORE, true); 162 EXPECT_EQ(CmSetCertStatus(NULL, CM_SYSTEM_TRUSTED_STORE, true), 169 EXPECT_EQ(CmSetCertStatus(&invalidUriBlob, CM_SYSTEM_TRUSTED_STORE, true),
|
D | cm_get_certlist_test.cpp | 100 int32_t ret = CmGetCertList(CM_SYSTEM_TRUSTED_STORE, lstCert); 115 int32_t ret = CmGetCertList(CM_SYSTEM_TRUSTED_STORE, listCert); 129 int32_t ret = CmGetCertList(CM_SYSTEM_TRUSTED_STORE, lstCert); 149 int32_t ret = CmGetCertList(CM_SYSTEM_TRUSTED_STORE, lstCert); 154 ret = CmGetCertList(CM_SYSTEM_TRUSTED_STORE, secondListCert); 171 EXPECT_EQ(CmGetCertList(CM_SYSTEM_TRUSTED_STORE, NULL), CMR_ERROR_NULL_POINTER);
|
D | cm_get_certinfo_test.cpp | 150 ret = CmGetCertInfo(&uriBlob, CM_SYSTEM_TRUSTED_STORE, &certInfo); 182 ret = CmGetCertInfo(&uriBlob, CM_SYSTEM_TRUSTED_STORE, &firstCertInfo); 185 ret = CmGetCertInfo(&uriBlob, CM_SYSTEM_TRUSTED_STORE, &secondCertInfo); 203 int32_t ret = CmGetCertList(CM_SYSTEM_TRUSTED_STORE, lstCert); 217 ret = CmGetCertInfo(&uriBlob, CM_SYSTEM_TRUSTED_STORE, &certInfo); 239 EXPECT_EQ(CmGetCertInfo(NULL, CM_SYSTEM_TRUSTED_STORE, &certInfo), CMR_ERROR_NULL_POINTER); 243 EXPECT_EQ(CmGetCertInfo(&uriBlob, CM_SYSTEM_TRUSTED_STORE, NULL), CMR_ERROR_NULL_POINTER); 247 EXPECT_EQ(CmGetCertInfo(&invalidUriBlob, CM_SYSTEM_TRUSTED_STORE, &certInfo),
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_check.c | 46 if (store != CM_SYSTEM_TRUSTED_STORE) { in CmServiceGetSystemCertListCheck() 61 if (store != CM_SYSTEM_TRUSTED_STORE) { in CmServiceGetSystemCertCheck() 81 if (store != CM_SYSTEM_TRUSTED_STORE) { in CmServiceSetCertStatusCheck()
|
D | cert_manager_status.c | 104 case CM_SYSTEM_TRUSTED_STORE: in GetStoreIndex() 464 DestroyTree(CM_SYSTEM_TRUSTED_STORE); in DestroyStatusTree() 485 TRY_FUNC(LoadStatus(CM_SYSTEM_TRUSTED_STORE), rc); in CertManagerStatusInit() 522 if (store == CM_SYSTEM_TRUSTED_STORE) { in GetRbTreeKey() 732 if (store == CM_SYSTEM_TRUSTED_STORE) { in CertManagerStatus() 751 if (store == CM_SYSTEM_TRUSTED_STORE) { in CertManagerCheckStorePermission()
|
D | cert_manager_storage.c | 35 case CM_SYSTEM_TRUSTED_STORE: in GetRootPath()
|
D | cert_manager.c | 94 case CM_SYSTEM_TRUSTED_STORE: in GetFilePath()
|
D | cert_manager_query.c | 419 } else if (store == CM_SYSTEM_TRUSTED_STORE) { in CmGetCertAlias()
|
D | cert_manager_service.c | 389 } else if (store == CM_SYSTEM_TRUSTED_STORE) { in CmServiceGetCertList()
|
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/src/ |
D | cert_manager_api.c | 31 if ((certificateList->certAbstract == NULL) || (store != CM_SYSTEM_TRUSTED_STORE)) { in CmGetCertList() 51 (store != CM_SYSTEM_TRUSTED_STORE)) { in CmGetCertInfo() 70 if (store != CM_SYSTEM_TRUSTED_STORE) { in CmSetCertStatus()
|
/base/web/webview/ohos_adapter/cert_mgr_adapter/src/ |
D | cert_mgr_adapter_impl.cpp | 110 ret = CmGetCertList(CM_SYSTEM_TRUSTED_STORE, certList); in GetSytemRootCertSum() 135 ret = CmGetCertList(CM_SYSTEM_TRUSTED_STORE, certList); in GetSytemRootCertData() 161 ret = CmGetCertInfo(&uriBlob, CM_SYSTEM_TRUSTED_STORE, &certInfo); in GetSytemRootCertData()
|
/base/security/certificate_manager/test/unittest/inner_permission_test/ |
D | cm_inner_permission_test.cpp | 85 ret = CmGetCertList(CM_SYSTEM_TRUSTED_STORE, certList); 106 ret = CmGetCertInfo(&uri, CM_SYSTEM_TRUSTED_STORE, &info); 122 int32_t ret = CmSetCertStatus(&uri, CM_SYSTEM_TRUSTED_STORE, false);
|
/base/security/certificate_manager/test/unittest/common_permission_test/ |
D | cm_common_permission_test.cpp | 64 ret = CmGetCertList(CM_SYSTEM_TRUSTED_STORE, certList); 85 ret = CmGetCertInfo(&uri, CM_SYSTEM_TRUSTED_STORE, &info); 101 int32_t ret = CmSetCertStatus(&uri, CM_SYSTEM_TRUSTED_STORE, false);
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
D | cm_napi_get_system_cert_info.cpp | 143 if (context->store == CM_SYSTEM_TRUSTED_STORE) { in GetCertInfoExecute() 206 napi_value result = GetCertInfoParseParams(env, info, context, CM_SYSTEM_TRUSTED_STORE); in CMNapiGetSystemCertInfo()
|
D | cm_napi_get_system_cert_list.cpp | 135 if (context->store == CM_SYSTEM_TRUSTED_STORE) { in GetCertListExecute() 196 napi_value result = GetCertListParseParams(env, info, context, CM_SYSTEM_TRUSTED_STORE); in CMNapiGetSystemCertList()
|
D | cm_napi_set_cert_status.cpp | 118 if (context->store == CM_SYSTEM_TRUSTED_STORE) { in SetCertStatusExecute()
|
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/ |
D | cm_type.h | 72 #define CM_SYSTEM_TRUSTED_STORE 1 macro
|