/ohos5.0/base/security/certificate_manager/test/unittest/src/ |
H A D | cm_remove_grant_test.cpp | 67 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 …]
|
H A D | cm_grant_test.cpp | 67 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestNormalGrant() local 93 struct CmBlob *keyUri = nullptr; /* keyUri is NULL */ 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 274 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable 294 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable 349 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable [all …]
|
H A D | cm_app_cert_test.cpp | 158 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable 188 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable 210 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable 228 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable 252 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable 270 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable 395 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable 430 struct CmBlob keyUri = { sizeof(uriBuf), uriBuf }; variable 468 struct CmBlob keyUri = { sizeof(uriBuf), uriBuf }; variable 541 struct CmBlob keyUri = { sizeof(uriBuf), uriBuf }; variable [all …]
|
H A D | cm_get_auth_list_test.cpp | 160 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
|
/ohos5.0/base/security/certificate_manager/test/unittest/multi_thread_test/src/ |
H A D | cm_remove_grant_multi_thread_test.cpp | 72 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 171 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable 187 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable 203 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable 219 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable [all …]
|
H A D | cm_grant_multi_thread_test.cpp | 75 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 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 271 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable 288 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable 308 struct CmBlob keyUri = { sizeof(uriData), uriData }; variable [all …]
|
H A D | cm_get_auth_list_multi_thread_test.cpp | 145 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
|
H A D | cm_app_cert_multi_thread_test.cpp | 83 struct CmBlob keyUri = { sizeof(keyUriBuf), keyUriBuf }; variable 119 struct CmBlob keyUri = { sizeof(uriBuf), uriBuf }; variable
|
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_http_proxy_tracker.cpp | 39 KeyUri keyUri = {hostUri, portUri, exclusionsUri}; in ReadFromSettingsData() local 48 KeyUri keyUri = {hostUri, portUri, exclusionsUri}; in WriteToSettingsData() local 57 KeyUri keyUri = {hostUri, portUri, exclusionsUri}; in ReadFromSettingsDataUser() local 66 KeyUri keyUri = {hostUri, portUri, exclusionsUri}; in WriteToSettingsDataUser() local 70 void NetHttpProxyTracker::ReadFromSettingsData(HttpProxy &httpProxy, KeyUri keyUri) in ReadFromSettingsData() 98 bool NetHttpProxyTracker::WriteToSettingsData(HttpProxy &httpProxy, KeyUri keyUri) in WriteToSettingsData()
|
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | cert_manager_app_cert_process.c | 233 static int32_t ImportRsaKey(const EVP_PKEY *priKey, const struct CmBlob *keyUri) in ImportRsaKey() 271 static int32_t ImportEccKey(const EVP_PKEY *priKey, const struct CmBlob *keyUri) in ImportEccKey() 310 static int32_t ImportEd25519Key(const EVP_PKEY *priKey, const struct CmBlob *keyUri) in ImportEd25519Key() 336 static int32_t ImportKeyPair(const EVP_PKEY *priKey, const struct CmBlob *keyUri) in ImportKeyPair() 352 const uint32_t store, const struct CmBlob *keyUri) in StoreAppCert() 375 …t struct CmContext *context, const struct CmBlob *certAlias, uint32_t store, struct CmBlob *keyUri) in ConstructKeyUri() 440 struct AppCert *appCert, EVP_PKEY *priKey, struct CmBlob *keyUri) in StoreKeyAndCert() 463 const struct CmContext *context, const struct CmAppCertParam *certParam, struct CmBlob *keyUri) in CmInstallAppCertPro()
|
H A D | cert_manager_check.c | 25 int32_t CheckUri(const struct CmBlob *keyUri) in CheckUri() 290 const uint32_t store, const struct CmBlob *keyUri) in CmServiceUninstallAppCertCheck() 395 …viceGetAppCertCheck(struct CmContext *cmContext, const uint32_t store, const struct CmBlob *keyUri) in CmServiceGetAppCertCheck()
|
H A D | cert_manager_service.c | 68 …llAppCert(struct CmContext *context, const struct CmAppCertParam *certParam, struct CmBlob *keyUri) in CmServicInstallAppCert() 85 struct CmBlob *keyUri, struct CmBlob *certBlob) in GetPublicAppCert() 120 const struct CmBlob *keyUri, struct CmBlob *certBlob) in GetPrivateAppCert() 140 struct CmBlob *keyUri, struct CmBlob *certBlob) in CmServiceGetAppCert() 152 int32_t CmServiceGrantAppCertificate(const struct CmContext *context, const struct CmBlob *keyUri, in CmServiceGrantAppCertificate() 168 int32_t CmServiceGetAuthorizedAppList(const struct CmContext *context, const struct CmBlob *keyUri, in CmServiceGetAuthorizedAppList() 199 int32_t CmServiceRemoveGrantedApp(const struct CmContext *context, const struct CmBlob *keyUri, uin… in CmServiceRemoveGrantedApp()
|
/ohos5.0/base/security/certificate_manager/test/fuzz_test/cmusertrustedstore_fuzzer/ |
H A D | cmusertrustedstore_fuzzer.cpp | 30 …ol InstallUserCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, struct CmBlob *keyUri) in InstallUserCert() 64 … SetUserCertStatus(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, struct CmBlob *keyUri) in SetUserCertStatus() 131 …c bool GetUserCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, struct CmBlob *keyUri) in GetUserCert() 166 … UnInstallUserCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, struct CmBlob *keyUri) in UnInstallUserCert() 208 struct CmBlob keyUri = { sizeof(keyUriData), &keyUriData[0] }; in DoSomethingInterestingWithMyAPI() local
|
/ohos5.0/base/security/certificate_manager/test/fuzz_test/cmappcert_fuzzer/ |
H A D | cmappcert_fuzzer.cpp | 30 struct CmBlob *keyUri) in InstallAppCert() 77 struct CmBlob *keyUri) in GetAppCert() 102 struct CmBlob *keyUri) in UnInstallAppCert() 145 struct CmBlob keyUri = { sizeof(uriBuf), uriBuf }; in DoSomethingInterestingWithMyAPI() local
|
/ohos5.0/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/src/ |
H A D | cert_manager_api.c | 84 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() 141 CM_API_EXPORT int32_t CmGetAppCert(const struct CmBlob *keyUri, const uint32_t store, in CmGetAppCert() 154 CM_API_EXPORT int32_t CmGrantAppCertificate(const struct CmBlob *keyUri, uint32_t appUid, struct Cm… in CmGrantAppCertificate() 167 CM_API_EXPORT int32_t CmGetAuthorizedAppList(const struct CmBlob *keyUri, struct CmAppUidList *appU… in CmGetAuthorizedAppList() 193 CM_API_EXPORT int32_t CmRemoveGrantedApp(const struct CmBlob *keyUri, uint32_t appUid) in CmRemoveGrantedApp() 332 …XPORT int32_t CmInstallSystemAppCert(const struct CmAppCertParam *certParam, struct CmBlob *keyUri) in CmInstallSystemAppCert()
|
/ohos5.0/base/security/certificate_manager/test/fuzz_test/cmsystemtrustedstore_fuzzer/ |
H A D | cmsystemtrustedstore_fuzzer.cpp | 29 …l SetSysCertStatus(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, struct CmBlob *keyUri) in SetSysCertStatus() 96 …ic bool GetSysCert(uint8_t *tmpData, uint32_t *remainSize, uint32_t *offset, struct CmBlob *keyUri) in GetSysCert() 144 struct CmBlob keyUri = { sizeof(keyUriData), &keyUriData[0] }; in DoSomethingInterestingWithMyAPI() local
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/ |
H A D | wifi_cert_utils.cpp | 82 struct CmBlob keyUri = { sizeof(retUriBuf), reinterpret_cast<uint8_t*>(retUriBuf) }; in InstallCert() local 102 struct CmBlob keyUri; in UninstallCert() local
|
/ohos5.0/base/security/certificate_manager/test/fuzz_test/cmgrantappcertificate_fuzzer/ |
H A D | cmgrantappcertificate_fuzzer.cpp | 35 struct CmBlob keyUri = { 0, nullptr }; in DoSomethingInterestingWithMyAPI() local
|
/ohos5.0/base/security/certificate_manager/interfaces/kits/napi/include/ |
H A D | cm_napi_uninstall_app_cert_common.h | 28 struct CmBlob *keyUri = nullptr; member
|
H A D | cm_napi_get_app_cert_info_common.h | 29 struct CmBlob *keyUri = nullptr; member
|
H A D | cm_napi_install_app_cert_common.h | 31 struct CmBlob *keyUri = nullptr; member
|
/ohos5.0/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/ |
H A D | cm_ipc_client.c | 194 static int32_t InstallAppCert(const struct CmAppCertParam *certParam, struct CmBlob *keyUri) in InstallAppCert() 230 const struct CmBlob *certAlias, const uint32_t store, struct CmBlob *keyUri) in CmClientInstallAppCert() 237 static int32_t UninstallAppCert(enum CertManagerInterfaceCode type, const struct CmBlob *keyUri, in UninstallAppCert() 273 int32_t CmClientUninstallAppCert(const struct CmBlob *keyUri, const uint32_t store) in CmClientUninstallAppCert() 590 int32_t CmClientGetAppCert(const struct CmBlob *keyUri, const uint32_t store, struct Credential *ce… in CmClientGetAppCert() 650 int32_t CmClientGrantAppCertificate(const struct CmBlob *keyUri, uint32_t appUid, struct CmBlob *au… in CmClientGrantAppCertificate() 669 int32_t CmClientGetAuthorizedAppList(const struct CmBlob *keyUri, struct CmAppUidList *appUidList) in CmClientGetAuthorizedAppList() 725 int32_t CmClientRemoveGrantedApp(const struct CmBlob *keyUri, uint32_t appUid) in CmClientRemoveGrantedApp() 1038 int32_t CmClientInstallSystemAppCert(const struct CmAppCertParam *certParam, struct CmBlob *keyUri) in CmClientInstallSystemAppCert()
|
/ohos5.0/base/security/certificate_manager/test/fuzz_test/cminstallappcert_fuzzer/ |
H A D | cminstallappcert_fuzzer.cpp | 61 struct CmBlob keyUri = { 0, nullptr }; in DoSomethingInterestingWithMyAPI() local
|
/ohos5.0/base/security/certificate_manager/interfaces/kits/napi/src/ |
H A D | cm_napi_install_app_cert_common.cpp | 136 static void InitKeyUri(struct CmBlob *&keyUri) in InitKeyUri() 159 napi_value keyUri = nullptr; in InstallAppCertWriteResult() local
|
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/ |
H A D | cm_ipc_service.c | 261 struct CmBlob keyUri = { 0, NULL }; in CmIpcServiceUninstallAppCert() local 324 static int32_t GetAppCertInfo(const struct CmBlob *keyUri, struct CmBlob *certType, in GetAppCertInfo() 372 struct CmBlob keyUri = { sizeof(uriBuf), (uint8_t *)uriBuf }; in CmCertListGetAppCertInfo() local 597 const struct CmBlob *certBlob, const struct CmBlob *keyUri) in CmAppCertificateInfoPack() 656 struct CmBlob keyUri = { 0, NULL }; in CmIpcServiceGetAppCert() local 704 static int32_t GetAuthedList(const struct CmContext *context, const struct CmBlob *keyUri, struct C… in GetAuthedList() 735 struct CmBlob keyUri = { 0, NULL }; in CmIpcServiceGrantAppCertificate() local 769 struct CmBlob keyUri = { 0, NULL }; in CmIpcServiceGetAuthorizedAppList() local 833 struct CmBlob keyUri = { 0, NULL }; in CmIpcServiceRemoveGrantedApp() local
|