/base/security/certificate_manager/test/unittest/src/ |
D | cm_app_cert_test.cpp | 138 …int32_t ret = CmInstallAppCert(&g_appCert, &g_appCertPwd, &certAlias, CM_CREDENTIAL_STORE, &keyUri… 165 … int32_t ret = CmInstallAppCert(&g_appCert, &appCertPwd, &certAlias, CM_CREDENTIAL_STORE, &keyUri); 188 … int32_t ret = CmInstallAppCert(&appCert, &g_appCertPwd, &certAlias, CM_CREDENTIAL_STORE, &keyUri); 230 …int32_t ret = CmInstallAppCert(&g_eccAppCert, &g_appCertPwd, &certAlias, CM_CREDENTIAL_STORE, &key… 254 …int32_t ret = CmInstallAppCert(&g_eccAppCert, &g_appCertPwd, &certAlias, CM_CREDENTIAL_STORE, &key… 275 int32_t ret = CmInstallAppCert(&g_eccAppCert, &pwd, &certAlias, CM_CREDENTIAL_STORE, &keyUri); 293 …int32_t ret = CmInstallAppCert(&g_appCert, &g_appCertPwd, &certAlias, CM_CREDENTIAL_STORE, &retUri… 302 ret = CmGetAppCert(&retUri, CM_CREDENTIAL_STORE, &certificate); 323 …int32_t ret = CmInstallAppCert(&g_appCert, &g_appCertPwd, &certAlias, CM_CREDENTIAL_STORE, &retUri… 333 ret = CmGetAppCert(&retUri, CM_CREDENTIAL_STORE, &certificate); [all …]
|
D | cm_grant_test.cpp | 63 int32_t ret = TestGenerateAppCert(&alias, CERT_KEY_ALG_RSA, CM_CREDENTIAL_STORE); in TestNormalGrant() 81 ret = CmUninstallAppCert(&keyUri, CM_CREDENTIAL_STORE); in TestNormalGrant() 345 int32_t ret = TestGenerateAppCert(&alias, CERT_KEY_ALG_RSA, CM_CREDENTIAL_STORE); 357 ret = CmUninstallAppCert(&keyUri, CM_CREDENTIAL_STORE); 371 int32_t ret = TestGenerateAppCert(&alias, CERT_KEY_ALG_RSA, CM_CREDENTIAL_STORE); 388 ret = CmUninstallAppCert(&keyUri, CM_CREDENTIAL_STORE);
|
D | cm_abort_test.cpp | 117 int32_t ret = TestGenerateAppCert(&alias, CERT_KEY_ALG_ECC, CM_CREDENTIAL_STORE); 132 ret = CmUninstallAppCert(&keyUri, CM_CREDENTIAL_STORE);
|
D | cm_init_test.cpp | 62 int32_t ret = TestGenerateAppCert(&aliasRsa, CERT_KEY_ALG_RSA, CM_CREDENTIAL_STORE); in SetUp() 64 ret = TestGenerateAppCert(&aliasEcc, CERT_KEY_ALG_ECC, CM_CREDENTIAL_STORE); in SetUp() 70 int32_t ret = CmUninstallAppCert(&g_rsaKeyUri, CM_CREDENTIAL_STORE); in TearDown() 72 ret = CmUninstallAppCert(&g_eccKeyUri, CM_CREDENTIAL_STORE); in TearDown()
|
D | cm_remove_grant_test.cpp | 63 int32_t ret = TestGenerateAppCert(&alias, CERT_KEY_ALG_RSA, CM_CREDENTIAL_STORE); in TestRemoveGrant() 80 ret = CmUninstallAppCert(&keyUri, CM_CREDENTIAL_STORE); in TestRemoveGrant()
|
D | cm_is_authed_test.cpp | 52 int32_t ret = TestGenerateAppCert(&alias, CERT_KEY_ALG_RSA, CM_CREDENTIAL_STORE); in SetUp() 61 int32_t ret = CmUninstallAppCert(&keyUri, CM_CREDENTIAL_STORE); in TearDown()
|
D | cm_get_auth_list_test.cpp | 60 int32_t ret = TestGenerateAppCert(&alias, CERT_KEY_ALG_RSA, CM_CREDENTIAL_STORE); in SetUp() 73 int32_t ret = CmUninstallAppCert(&g_keyUri, CM_CREDENTIAL_STORE); in TearDown()
|
D | cm_finish_test.cpp | 69 int32_t ret = TestGenerateAppCert(&alias, alg, CM_CREDENTIAL_STORE); in TestInstallAppCert() 75 int32_t ret = CmUninstallAppCert(&g_keyUri, CM_CREDENTIAL_STORE); in TestUninstallAppCert()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_permission_check.cpp | 61 if (store == CM_CREDENTIAL_STORE) { /* only care about public credential */ in CmIsSystemAppByStoreType() 70 case CM_CREDENTIAL_STORE: in CmPermissionCheck()
|
D | cert_manager_check.c | 155 if (store != CM_CREDENTIAL_STORE && store != CM_PRI_CREDENTIAL_STORE) { in CmServiceInstallAppCertCheck() 198 if ((store != CM_CREDENTIAL_STORE) && (store != CM_PRI_CREDENTIAL_STORE)) { in CmServiceUninstallAppCertCheck() 223 if ((store != CM_CREDENTIAL_STORE) && (store != CM_PRI_CREDENTIAL_STORE)) { in CmServiceGetAppCertListCheck() 243 if ((store != CM_CREDENTIAL_STORE) && (store != CM_PRI_CREDENTIAL_STORE)) { in CmServiceGetAppCertCheck()
|
D | cm_event_process.c | 92 case CM_CREDENTIAL_STORE : in CmTraversalDirAction() 160 if (!isSameUid || (store != CM_CREDENTIAL_STORE)) { in RemoveAuthListDir() 178 if (store == CM_CREDENTIAL_STORE) { /* remove deleted uid from authlist */ in TraversalUidLayerDir() 239 } else if (store == CM_CREDENTIAL_STORE) { in TraversalUserIdLayerDir() 358 ret = CmTraversalDir(context, CREDNTIAL_STORE, CM_CREDENTIAL_STORE); in CmDeleteProcessInfo()
|
D | cert_manager.c | 77 case CM_CREDENTIAL_STORE: in GetFilePath() 80 if (store == CM_CREDENTIAL_STORE) { in GetFilePath() 201 if (store == CM_CREDENTIAL_STORE) { in CmRemoveAppCert() 232 if (store != CM_CREDENTIAL_STORE) { in ClearAuthInfo() 247 case CM_CREDENTIAL_STORE : in CmAppCertGetFilePath() 369 int32_t ret = CmRemoveSpecifiedAppCert(context, CM_CREDENTIAL_STORE); in CmRemoveAllAppCert() 397 if (store == CM_CREDENTIAL_STORE) { in CmServiceGetAppCertList()
|
D | cert_manager_auth_list_mgr.c | 336 ret = ConstructAuthListPath(context, CM_CREDENTIAL_STORE, authListPath, MAX_PATH_LEN); in CmAddAuthUid() 351 int32_t ret = ConstructAuthListPath(context, CM_CREDENTIAL_STORE, authListPath, MAX_PATH_LEN); in CmRemoveAuthUid() 366 int32_t ret = ConstructAuthListPath(context, CM_CREDENTIAL_STORE, authListPath, MAX_PATH_LEN); in CmGetAuthList() 393 int32_t ret = ConstructAuthListPath(context, CM_CREDENTIAL_STORE, authListPath, MAX_PATH_LEN); in CmDeleteAuthListFile() 416 int32_t ret = ConstructAuthListPath(context, CM_CREDENTIAL_STORE, authListPath, MAX_PATH_LEN); in CmCheckIsAuthUidExist() 498 int32_t ret = ConstructUidPath(context, CM_CREDENTIAL_STORE, uidPath, MAX_PATH_LEN); in CmCheckCredentialExist()
|
D | cert_manager_storage.c | 32 case CM_CREDENTIAL_STORE: in GetRootPath()
|
D | cert_manager_service.c | 137 if (store == CM_CREDENTIAL_STORE) { in CmServiceGetAppCert()
|
D | cert_manager_status.c | 759 } else if (store == CM_CREDENTIAL_STORE) { in CertManagerCheckStorePermission()
|
/base/security/certificate_manager/test/unittest/multi_thread_test/src/ |
D | cm_app_cert_multi_thread_test.cpp | 70 int32_t ret = CmUninstallAppCert(nullptr, CM_CREDENTIAL_STORE); 121 …int32_t ret = CmInstallAppCert(&g_appCert, &g_appCertPwd, &certAlias, CM_CREDENTIAL_STORE, &keyUri…
|
D | cm_grant_multi_thread_test.cpp | 68 int32_t ret = TestGenerateAppCert(&alias, CERT_KEY_ALG_RSA, CM_CREDENTIAL_STORE); in TestGrantAppCertificatePreAction() 95 int32_t ret = CmUninstallAppCert(&keyUri, CM_CREDENTIAL_STORE); in TestGrantAppCertificateAfterAction() 386 int32_t ret = TestGenerateAppCert(&alias, CERT_KEY_ALG_RSA, CM_CREDENTIAL_STORE); 395 ret = CmUninstallAppCert(&keyUri, CM_CREDENTIAL_STORE);
|
D | cm_remove_grant_multi_thread_test.cpp | 68 int32_t ret = TestGenerateAppCert(&alias, CERT_KEY_ALG_RSA, CM_CREDENTIAL_STORE); in TestRemoveGrantPreAction() 98 int32_t ret = CmUninstallAppCert(&keyUri, CM_CREDENTIAL_STORE); in TestRemoveGrantAfterAction()
|
D | cm_get_auth_list_multi_thread_test.cpp | 65 int32_t ret = TestGenerateAppCert(&alias, CERT_KEY_ALG_RSA, CM_CREDENTIAL_STORE); in SetUp() 78 int32_t ret = CmUninstallAppCert(&g_keyUri, CM_CREDENTIAL_STORE); in TearDown()
|
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/src/ |
D | cert_manager_api.c | 87 keyUri == NULL || keyUri->data == NULL || (store != CM_CREDENTIAL_STORE && in CmInstallAppCert() 100 if (keyUri == NULL || (store != CM_CREDENTIAL_STORE && in CmUninstallAppCert() 123 if (certificateList == NULL || (store != CM_CREDENTIAL_STORE && in CmGetAppCertList() 137 if (keyUri == NULL || certificate == NULL || (store != CM_CREDENTIAL_STORE && in CmGetAppCert()
|
/base/security/certificate_manager/test/unittest/inner_permission_test/ |
D | cm_inner_permission_test.cpp | 136 int32_t ret = TestGenerateAppCert(&alias, CERT_KEY_ALG_RSA, CM_CREDENTIAL_STORE); 150 int32_t ret = CmUninstallAppCert(&uri, CM_CREDENTIAL_STORE); 177 int32_t ret = CmGetAppCertList(CM_CREDENTIAL_STORE, &certList); 213 int32_t ret = CmGetAppCert(&uri, CM_CREDENTIAL_STORE, &cred);
|
/base/security/certificate_manager/test/unittest/common_permission_test/ |
D | cm_common_permission_test.cpp | 115 int32_t ret = TestGenerateAppCert(&alias, CERT_KEY_ALG_RSA, CM_CREDENTIAL_STORE); 143 int32_t ret = CmUninstallAppCert(&uri, CM_CREDENTIAL_STORE); 184 int32_t ret = CmGetAppCertList(CM_CREDENTIAL_STORE, &certList); 220 int32_t ret = CmGetAppCert(&uri, CM_CREDENTIAL_STORE, &cred);
|
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/ |
D | cm_type.h | 71 #define CM_CREDENTIAL_STORE 0 macro
|
/base/web/webview/ohos_adapter/cert_mgr_adapter/src/ |
D | cert_mgr_adapter_impl.cpp | 275 int32_t ret = CmGetAppCert(&uri, CM_CREDENTIAL_STORE, &cred); in GetAppCert()
|