Home
last modified time | relevance | path

Searched defs:keyUri (Results 1 – 25 of 35) sorted by relevance

12

/base/security/certificate_manager/test/unittest/src/
Dcm_remove_grant_test.cpp67 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestRemoveGrant() local
92 struct CmBlob *keyUri = nullptr; /* keyUri is NULL */ variable
107 struct CmBlob keyUri = { 0, uriData }; /* keyUri size is 0 */ variable
122 struct CmBlob keyUri = { sizeof(uriData), nullptr }; /* keyUri data is null */ variable
137 struct CmBlob keyUri = { strlen((char *)uriData), uriData }; /* keyUri data not end of '\0' */ variable
153 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
169 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
185 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
201 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
217 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
[all …]
Dcm_grant_test.cpp67 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestNormalGrant() local
93 struct CmBlob *keyUri = nullptr; /* keyUri is NULL */ variable
113 struct CmBlob keyUri = { 0, uriData }; /* keyUri size is 0 */ variable
133 struct CmBlob keyUri = { sizeof(uriData), nullptr }; /* keyUri data is null */ variable
153 struct CmBlob keyUri = { strlen((char *)uriData), uriData }; /* keyUri data not end of '\0' */ variable
174 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
195 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
216 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
237 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
257 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
[all …]
Dcm_get_auth_list_test.cpp160 struct CmBlob *keyUri = nullptr; /* keyUri is NULL */ variable
175 struct CmBlob keyUri = { 0, uriData }; /* keyUri size is 0 */ variable
190 struct CmBlob keyUri = { sizeof(uriData), nullptr }; /* keyUri data is null */ variable
205 struct CmBlob keyUri = { strlen((char *)uriData), uriData }; /* keyUri data not end of '\0' */ variable
221 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
237 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
253 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
269 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
284 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
338 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
Dcm_app_cert_test.cpp133 struct CmBlob keyUri = { sizeof(retUriBuf), reinterpret_cast<uint8_t *>(retUriBuf) }; variable
157 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable
186 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable
207 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable
225 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable
249 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable
267 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable
390 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable
425 struct CmBlob keyUri = { sizeof(uriBuf), uriBuf }; variable
463 struct CmBlob keyUri = { sizeof(uriBuf), uriBuf }; variable
[all …]
Dcm_abort_test.cpp121 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
Dcm_is_authed_test.cpp59 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TearDown() local
69 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestGrantApp() local
/base/security/certificate_manager/test/unittest/multi_thread_test/src/
Dcm_remove_grant_multi_thread_test.cpp72 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestRemoveGrantPreAction() local
85 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestRemoveGrant() local
96 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestRemoveGrantAfterAction() local
110 struct CmBlob *keyUri = nullptr; /* keyUri is NULL */ variable
125 struct CmBlob keyUri = { 0, uriData }; /* keyUri size is 0 */ variable
140 struct CmBlob keyUri = { sizeof(uriData), nullptr }; /* keyUri data is null */ variable
155 struct CmBlob keyUri = { strlen((char *)uriData), uriData }; /* keyUri data not end of '\0' */ variable
171 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
187 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
203 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
[all …]
Dcm_grant_multi_thread_test.cpp75 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestGrantAppCertificate() local
94 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestGrantAppCertificateAfterAction() local
107 struct CmBlob *keyUri = nullptr; /* keyUri is NULL */ variable
127 struct CmBlob keyUri = { 0, uriData }; /* keyUri size is 0 */ variable
147 struct CmBlob keyUri = { sizeof(uriData), nullptr }; /* keyUri data is null */ variable
167 struct CmBlob keyUri = { strlen((char *)uriData), uriData }; /* keyUri data not end of '\0' */ variable
188 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
209 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
230 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
251 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
[all …]
Dcm_get_auth_list_multi_thread_test.cpp145 struct CmBlob *keyUri = nullptr; /* keyUri is NULL */ variable
160 struct CmBlob keyUri = { 0, uriData }; /* keyUri size is 0 */ variable
175 struct CmBlob keyUri = { sizeof(uriData), nullptr }; /* keyUri data is null */ variable
190 struct CmBlob keyUri = { strlen((char *)uriData), uriData }; /* keyUri data not end of '\0' */ variable
206 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
222 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
238 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
254 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
269 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
323 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable
Dcm_app_cert_multi_thread_test.cpp83 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable
119 struct CmBlob keyUri = { sizeof(uriBuf), uriBuf }; variable
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_app_cert_process.c228 static int32_t ImportRsaKey(const EVP_PKEY *priKey, const struct CmBlob *keyUri) in ImportRsaKey()
266 static int32_t ImportEccKey(const EVP_PKEY *priKey, const struct CmBlob *keyUri) in ImportEccKey()
305 static int32_t ImportEd25519Key(const EVP_PKEY *priKey, const struct CmBlob *keyUri) in ImportEd25519Key()
331 static int32_t ImportKeyPair(const EVP_PKEY *priKey, const struct CmBlob *keyUri) in ImportKeyPair()
347 const uint32_t store, const struct CmBlob *keyUri) in StoreAppCert()
369 …tructKeyUri(const struct CmContext *context, const struct CmBlob *certAlias, struct CmBlob *keyUri) in ConstructKeyUri()
400 const struct CmBlob *certAlias, const uint32_t store, struct CmBlob *keyUri) in CmInstallAppCertPro()
Dcert_manager_check.c24 int32_t CheckUri(const struct CmBlob *keyUri) in CheckUri()
196 int32_t CmServiceUninstallAppCertCheck(const uint32_t store, const struct CmBlob *keyUri) in CmServiceUninstallAppCertCheck()
241 int32_t CmServiceGetAppCertCheck(const uint32_t store, const struct CmBlob *keyUri) in CmServiceGetAppCertCheck()
Dcert_manager_service.c62 const struct CmBlob *certAlias, const uint32_t store, struct CmBlob *keyUri) in CmServicInstallAppCert()
80 struct CmBlob *keyUri, struct CmBlob *certBlob) in GetPublicAppCert()
115 const struct CmBlob *keyUri, struct CmBlob *certBlob) in GetPrivateAppCert()
135 struct CmBlob *keyUri, struct CmBlob *certBlob) in CmServiceGetAppCert()
145 int32_t CmServiceGrantAppCertificate(const struct CmContext *context, const struct CmBlob *keyUri, in CmServiceGrantAppCertificate()
161 int32_t CmServiceGetAuthorizedAppList(const struct CmContext *context, const struct CmBlob *keyUri, in CmServiceGetAuthorizedAppList()
192 int32_t CmServiceRemoveGrantedApp(const struct CmContext *context, const struct CmBlob *keyUri, uin… in CmServiceRemoveGrantedApp()
Dcm_event_process.c35 struct CmBlob keyUri = { strlen(fileName) + 1, (uint8_t *)fileName }; in DeleteAuth() local
57 struct CmBlob keyUri = { strlen(fileName) + 1, (uint8_t *)fileName }; in CmTraversalDirActionCredential() local
Dcert_manager_auth_mgr.c326 int32_t CmAuthGrantAppCertificate(const struct CmContext *context, const struct CmBlob *keyUri, in CmAuthGrantAppCertificate()
376 int32_t CmAuthGetAuthorizedAppList(const struct CmContext *context, const struct CmBlob *keyUri, in CmAuthGetAuthorizedAppList()
504 int32_t CmAuthRemoveGrantedApp(const struct CmContext *context, const struct CmBlob *keyUri, uint32… in CmAuthRemoveGrantedApp()
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/src/
Dcert_manager_api.c83 const struct CmBlob *certAlias, const uint32_t store, struct CmBlob *keyUri) in CmInstallAppCert()
97 CM_API_EXPORT int32_t CmUninstallAppCert(const struct CmBlob *keyUri, const uint32_t store) in CmUninstallAppCert()
133 CM_API_EXPORT int32_t CmGetAppCert(const struct CmBlob *keyUri, const uint32_t store, in CmGetAppCert()
147 CM_API_EXPORT int32_t CmGrantAppCertificate(const struct CmBlob *keyUri, uint32_t appUid, struct Cm… in CmGrantAppCertificate()
160 CM_API_EXPORT int32_t CmGetAuthorizedAppList(const struct CmBlob *keyUri, struct CmAppUidList *appU… in CmGetAuthorizedAppList()
186 CM_API_EXPORT int32_t CmRemoveGrantedApp(const struct CmBlob *keyUri, uint32_t appUid) in CmRemoveGrantedApp()
/base/security/certificate_manager/test/fuzz_test/cmgrantappcertificate_fuzzer/
Dcmgrantappcertificate_fuzzer.cpp35 struct CmBlob keyUri = { 0, nullptr }; in DoSomethingInterestingWithMyAPI() local
/base/security/certificate_manager/interfaces/kits/napi/include/
Dcm_napi_uninstall_app_cert_common.h28 struct CmBlob *keyUri = nullptr; member
Dcm_napi_get_app_cert_info_common.h29 struct CmBlob *keyUri = nullptr; member
Dcm_napi_install_app_cert_common.h31 struct CmBlob *keyUri = nullptr; member
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_install_app_cert_common.cpp128 static void InitKeyUri(struct CmBlob *&keyUri) in InitKeyUri()
151 napi_value keyUri = nullptr; in InstallAppCertWriteResult() local
/base/security/certificate_manager/test/fuzz_test/cminstallappcert_fuzzer/
Dcminstallappcert_fuzzer.cpp61 struct CmBlob keyUri = { 0, nullptr }; in DoSomethingInterestingWithMyAPI() local
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/
Dcm_ipc_service.c248 struct CmBlob keyUri = { 0, NULL }; in CmIpcServiceUninstallAppCert() local
307 static int32_t GetAppCertInfo(const struct CmBlob *keyUri, struct CmBlob *certType, in GetAppCertInfo()
356 struct CmBlob keyUri = { sizeof(uriBuf), (uint8_t *)uriBuf }; in CmCertListGetAppCertInfo() local
530 const struct CmBlob *certBlob, const struct CmBlob *keyUri) in CmAppCertificateInfoPack()
589 struct CmBlob keyUri = { 0, NULL }; in CmIpcServiceGetAppCert() local
636 static int32_t GetAuthedList(const struct CmContext *context, const struct CmBlob *keyUri, struct C… in GetAuthedList()
667 struct CmBlob keyUri = { 0, NULL }; in CmIpcServiceGrantAppCertificate() local
700 struct CmBlob keyUri = { 0, NULL }; in CmIpcServiceGetAuthorizedAppList() local
764 struct CmBlob keyUri = { 0, NULL }; in CmIpcServiceRemoveGrantedApp() local
/base/security/certificate_manager/interfaces/kits/js/
D@ohos.security.certManager.d.ts344 keyUri: string; property
353 keyUri: string; property
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
Dcm_ipc_client.c195 const struct CmBlob *certAlias, const uint32_t store, struct CmBlob *keyUri) in InstallAppCert()
233 const struct CmBlob *certAlias, const uint32_t store, struct CmBlob *keyUri) in CmClientInstallAppCert()
238 static int32_t UninstallAppCert(enum CertManagerInterfaceCode type, const struct CmBlob *keyUri, in UninstallAppCert()
274 int32_t CmClientUninstallAppCert(const struct CmBlob *keyUri, const uint32_t store) in CmClientUninstallAppCert()
586 int32_t CmClientGetAppCert(const struct CmBlob *keyUri, const uint32_t store, struct Credential *ce… in CmClientGetAppCert()
646 int32_t CmClientGrantAppCertificate(const struct CmBlob *keyUri, uint32_t appUid, struct CmBlob *au… in CmClientGrantAppCertificate()
665 int32_t CmClientGetAuthorizedAppList(const struct CmBlob *keyUri, struct CmAppUidList *appUidList) in CmClientGetAuthorizedAppList()
721 int32_t CmClientRemoveGrantedApp(const struct CmBlob *keyUri, uint32_t appUid) in CmClientRemoveGrantedApp()

12