Home
last modified time | relevance | path

Searched defs:authUri (Results 1 – 19 of 19) sorted by relevance

/base/security/certificate_manager/test/unittest/src/
Dcm_is_authed_test.cpp65 static void TestGrantApp(struct CmBlob *authUri) in TestGrantApp()
83 struct CmBlob *authUri = nullptr; /* authUri is NULL */ variable
98 struct CmBlob authUri = { 0, uriData }; /* authUri size is 0 */ variable
113 struct CmBlob authUri = { sizeof(uriData), nullptr }; /* authUri data is null */ variable
128 struct CmBlob authUri = { strlen((char *)uriData), uriData }; /* authUri data not end of '\0' */ variable
144 struct CmBlob authUri = { sizeof(uriData), uriData }; variable
160 struct CmBlob authUri = { sizeof(uriData), uriData }; variable
176 struct CmBlob authUri = { sizeof(uriData), uriData }; variable
192 struct CmBlob authUri = { sizeof(uriData), uriData }; variable
208 struct CmBlob authUri = { sizeof(uriData), uriData }; variable
[all …]
Dcm_grant_test.cpp69 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; in TestNormalGrant() local
96 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
116 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
136 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
156 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
177 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
198 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
219 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
240 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
259 struct CmBlob *authUri = nullptr; /* authUri nullptr */ variable
[all …]
Dcm_init_test.cpp84 struct CmBlob *authUri = nullptr; /* authUri is NULL */ variable
102 struct CmBlob authUri = { 0, uriData }; /* authUri size is 0 */ variable
120 struct CmBlob authUri = { sizeof(uriData), nullptr }; /* authUri data is null */ variable
138 struct CmBlob authUri = { strlen((char *)uriData), uriData }; /* authUri data not end of '\0' */ variable
156 struct CmBlob authUri = { sizeof(uriData), uriData }; variable
174 struct CmBlob authUri = { sizeof(uriData), uriData }; variable
192 struct CmBlob authUri = { sizeof(uriData), uriData }; variable
210 struct CmBlob authUri = { sizeof(uriData), uriData }; variable
322 struct CmBlob authUri = { sizeof(uriData), uriData }; variable
Dcm_get_auth_list_test.cpp65 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; in SetUp() local
100 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; in TestGrant() local
Dcm_remove_grant_test.cpp69 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; in TestRemoveGrant() local
/base/security/certificate_manager/test/unittest/multi_thread_test/src/
Dcm_grant_multi_thread_test.cpp77 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; in TestGrantAppCertificate() local
110 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
130 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
150 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
170 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
191 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
212 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
233 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
254 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; variable
273 struct CmBlob *authUri = nullptr; /* authUri nullptr */ variable
[all …]
Dcm_get_auth_list_multi_thread_test.cpp70 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; in SetUp() local
105 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; in TestGrant() local
Dcm_remove_grant_multi_thread_test.cpp74 struct CmBlob authUri = { DEFAULT_AUTH_URI_LEN, authUriData }; in TestRemoveGrantPreAction() local
/base/security/certificate_manager/test/fuzz_test/cmgrantappcertificate_fuzzer/
Dcmgrantappcertificate_fuzzer.cpp47 struct CmBlob authUri = { 0, nullptr }; in DoSomethingInterestingWithMyAPI() local
/base/security/certificate_manager/test/fuzz_test/cminit_fuzzer/
Dcminit_fuzzer.cpp37 struct CmBlob authUri = { 0, nullptr }; in DoSomethingInterestingWithMyAPI() local
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/src/
Dcert_manager_api.c147 …int32_t CmGrantAppCertificate(const struct CmBlob *keyUri, uint32_t appUid, struct CmBlob *authUri) in CmGrantAppCertificate()
173 CM_API_EXPORT int32_t CmIsAuthorizedApp(const struct CmBlob *authUri) in CmIsAuthorizedApp()
199 CM_API_EXPORT int32_t CmInit(const struct CmBlob *authUri, const struct CmSignatureSpec *spec, stru… in CmInit()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_auth_mgr.c252 struct CmBlob *authUri) in ConstructAuthUri()
287 …tic int32_t GenerateAuthUri(const struct CMUri *uriObj, uint32_t clientUid, struct CmBlob *authUri) in GenerateAuthUri()
327 uint32_t appUid, struct CmBlob *authUri) in CmAuthGrantAppCertificate()
486 int32_t CmAuthIsAuthorizedApp(const struct CmContext *context, const struct CmBlob *authUri) in CmAuthIsAuthorizedApp()
Dcert_manager_service.c146 uint32_t appUid, struct CmBlob *authUri) in CmServiceGrantAppCertificate()
177 int32_t CmServiceIsAuthorizedApp(const struct CmContext *context, const struct CmBlob *authUri) in CmServiceIsAuthorizedApp()
207 int32_t CmServiceInit(const struct CmContext *context, const struct CmBlob *authUri, in CmServiceInit()
/base/security/certificate_manager/test/unittest/inner_permission_test/
Dcm_inner_permission_test.cpp329 struct CmBlob authUri = { sizeof(authUriData), authUriData }; variable
360 struct CmBlob authUri = { sizeof(uriData), uriData }; variable
/base/security/certificate_manager/test/unittest/common_permission_test/
Dcm_common_permission_test.cpp359 struct CmBlob authUri = { sizeof(authUriData), authUriData }; variable
417 struct CmBlob authUri = { sizeof(uriData), uriData }; variable
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_grant.cpp45 struct CmBlob *authUri = nullptr; member
202 static napi_value ConvertResultAuthUri(napi_env env, const CmBlob *authUri) in ConvertResultAuthUri()
Dcm_napi_sign_verify.cpp47 struct CmBlob *authUri = nullptr; member
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
Dcm_ipc_client.c646 …t CmClientGrantAppCertificate(const struct CmBlob *keyUri, uint32_t appUid, struct CmBlob *authUri) in CmClientGrantAppCertificate()
702 int32_t CmClientIsAuthorizedApp(const struct CmBlob *authUri) in CmClientIsAuthorizedApp()
741 int32_t CmClientInit(const struct CmBlob *authUri, const struct CmSignatureSpec *spec, struct CmBlo… in CmClientInit()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/
Dcm_ipc_service.c732 struct CmBlob authUri = { 0, NULL }; in CmIpcServiceIsAuthorizedApp() local
800 struct CmBlob authUri = { 0, NULL }; in CmIpcServiceInit() local