/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/dependency/hichain/ |
H A D | mine_hichain_connector.cpp | 140 char *returnInfo = nullptr; in DeleteCredentialAndGroup() local 201 char *returnInfo = nullptr; in RequestCredential() local 207 returnJsonStr = returnInfo; in RequestCredential() 208 g_deviceGroupManager->destroyInfo(&returnInfo); in RequestCredential() 222 char *returnInfo = nullptr; in CheckCredential() local 224 reqJsonStr.c_str(), &returnInfo); in CheckCredential() 229 returnJsonStr = returnInfo; in CheckCredential() 230 g_deviceGroupManager->destroyInfo(&returnInfo); in CheckCredential() 258 char *returnInfo = nullptr; in ImportCredential() local 300 char *returnInfo = nullptr; in IsCredentialExist() local [all …]
|
/ohos5.0/base/security/device_auth/services/creds_manager/src/ |
H A D | creds_manager.c | 137 …2_t GetCredInfoByPeerUrl(const CJson *in, const Uint8Buff *presharedUrl, IdentityInfo **returnInfo) in GetCredInfoByPeerUrl() argument 139 if (in == NULL || presharedUrl == NULL || returnInfo == NULL) { in GetCredInfoByPeerUrl() 150 return authIdentity->getCredInfoByPeerUrl(in, presharedUrl, returnInfo); in GetCredInfoByPeerUrl() 184 int32_t GetCredInfoByPeerCert(const CJson *in, const CertInfo *certInfo, IdentityInfo **returnInfo) in GetCredInfoByPeerCert() argument 186 if (in == NULL || certInfo == NULL || returnInfo == NULL) { in GetCredInfoByPeerCert() 196 authIdentityTest->getCredInfoByPeerCert(in, certInfo, returnInfo); in GetCredInfoByPeerCert() 202 authIdentityTest->getCredInfoByPeerCert(in, certInfo, returnInfo); in GetCredInfoByPeerCert() 209 return authIdentity->getCredInfoByPeerCert(in, certInfo, returnInfo); in GetCredInfoByPeerCert()
|
/ohos5.0/base/security/device_auth/services/creds_manager/inc/ |
H A D | creds_manager.h | 28 …_t GetCredInfoByPeerUrl(const CJson *in, const Uint8Buff *presharedUrl, IdentityInfo **returnInfo); 31 int32_t GetCredInfoByPeerCert(const CJson *in, const CertInfo *certInfo, IdentityInfo **returnInfo);
|
/ohos5.0/base/security/device_auth/services/identity_manager/src/mock/ |
H A D | cert_operation_mock.c | 48 …_t GetAccountAsymCredInfo(int32_t osAccountId, const CertInfo *certInfo, IdentityInfo **returnInfo) in GetAccountAsymCredInfo() argument 52 (void)returnInfo; in GetAccountAsymCredInfo()
|
/ohos5.0/base/security/device_auth/services/identity_manager/src/ |
H A D | identity_pin.c | 184 …2_t GetCredInfoByPeerUrl(const CJson *in, const Uint8Buff *presharedUrl, IdentityInfo **returnInfo) in GetCredInfoByPeerUrl() argument 186 if (in == NULL || presharedUrl == NULL || returnInfo == NULL) { in GetCredInfoByPeerUrl() 227 *returnInfo = info; in GetCredInfoByPeerUrl() 355 …int32_t GetCredInfoByPeerCert(const CJson *in, const CertInfo *certInfo, IdentityInfo **returnInfo) in GetCredInfoByPeerCert() argument 360 (void)returnInfo; in GetCredInfoByPeerCert()
|
H A D | identity_p2p.c | 158 …2_t GetCredInfoByPeerUrl(const CJson *in, const Uint8Buff *presharedUrl, IdentityInfo **returnInfo) in GetCredInfoByPeerUrl() argument 160 if (in == NULL || presharedUrl == NULL || returnInfo == NULL) { in GetCredInfoByPeerUrl() 183 *returnInfo = info; in GetCredInfoByPeerUrl() 324 …int32_t GetCredInfoByPeerCert(const CJson *in, const CertInfo *certInfo, IdentityInfo **returnInfo) in GetCredInfoByPeerCert() argument 329 (void)returnInfo; in GetCredInfoByPeerCert()
|
H A D | identity_group.c | 220 bool isUdid, IdentityInfo **returnInfo) in GetIdentityInfo() argument 239 *returnInfo = info; in GetIdentityInfo() 408 …2_t GetCredInfoByPeerUrl(const CJson *in, const Uint8Buff *presharedUrl, IdentityInfo **returnInfo) in GetCredInfoByPeerUrl() argument 410 if (in == NULL || presharedUrl == NULL || returnInfo == NULL) { in GetCredInfoByPeerUrl() 449 *returnInfo = info; in GetCredInfoByPeerUrl() 884 …int32_t GetCredInfoByPeerCert(const CJson *in, const CertInfo *certInfo, IdentityInfo **returnInfo) in GetCredInfoByPeerCert() argument 886 if (in == NULL || certInfo == NULL || returnInfo == NULL) { in GetCredInfoByPeerCert() 895 int32_t res = GetAccountAsymCredInfo(osAccountId, certInfo, returnInfo); in GetCredInfoByPeerCert() 901 (*returnInfo)->proof.certInfo.isPseudonym = true; in GetCredInfoByPeerCert() 903 (*returnInfo)->proof.certInfo.isPseudonym = false; in GetCredInfoByPeerCert()
|
H A D | cert_operation.c | 773 …_t GetAccountAsymCredInfo(int32_t osAccountId, const CertInfo *certInfo, IdentityInfo **returnInfo) in GetAccountAsymCredInfo() argument 775 if (certInfo == NULL || returnInfo == NULL) { in GetAccountAsymCredInfo() 806 *returnInfo = info; in GetAccountAsymCredInfo()
|
/ohos5.0/base/security/device_auth/services/identity_manager/inc/ |
H A D | identity_manager.h | 44 …(*getCredInfoByPeerUrl)(const CJson *in, const Uint8Buff *presharedUrl, IdentityInfo **returnInfo); 47 …2_t (*getCredInfoByPeerCert)(const CJson *in, const CertInfo *certInfo, IdentityInfo **returnInfo);
|
H A D | cert_operation.h | 31 …t GetAccountAsymCredInfo(int32_t osAccountId, const CertInfo *certInfo, IdentityInfo **returnInfo);
|
/ohos5.0/base/security/device_auth/services/legacy/group_manager/src/ |
H A D | group_manager.c | 151 void DestroyInfoImpl(char **returnInfo) in DestroyInfoImpl() argument 154 GetGroupImplInstance()->destroyInfo(returnInfo); in DestroyInfoImpl()
|
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/mock/ |
H A D | device_auth.h | 182 int32_t (*getLocalConnectInfo)(char *returnInfo, int32_t bufLen); 207 void (*destroyInfo)(char **returnInfo);
|
/ohos5.0/base/security/device_auth/services/legacy/group_manager/inc/ |
H A D | group_manager.h | 54 void DestroyInfoImpl(char **returnInfo);
|
H A D | group_operation.h | 57 void (*destroyInfo)(char **returnInfo);
|
/ohos5.0/base/security/device_auth/services/legacy/group_manager/src/group_operation/ |
H A D | group_operation.c | 1188 static void DestroyInfo(char **returnInfo) in DestroyInfo() argument 1190 if ((returnInfo == NULL) || (*returnInfo == NULL)) { in DestroyInfo() 1193 FreeJsonString(*returnInfo); in DestroyInfo() 1194 *returnInfo = NULL; in DestroyInfo()
|
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_related/creds_manager/ |
H A D | sym_token_manager.c | 566 OsSymTokensInfo *returnInfo = g_symTokensDb.pushBackT(&g_symTokensDb, newInfo); in GetTokensInfoByOsAccountId() local 567 if (returnInfo == NULL) { in GetTokensInfoByOsAccountId() 571 return returnInfo; in GetTokensInfoByOsAccountId()
|
H A D | asy_token_manager.c | 1043 OsAccountTokenInfo *returnInfo = g_accountTokenDb.pushBackT(&g_accountTokenDb, newInfo); in GetTokenInfoByOsAccountId() local 1044 if (returnInfo == NULL) { in GetTokenInfoByOsAccountId() 1048 return returnInfo; in GetTokenInfoByOsAccountId()
|
/ohos5.0/base/security/device_auth/services/privacy_enhancement/src/ |
H A D | pseudonym_manager.c | 482 OsAccountPseudonymInfo *returnInfo = g_pseudonymDb.pushBackT(&g_pseudonymDb, newInfo); in GetPseudonymInfoByOsAccountId() local 483 if (returnInfo == NULL) { in GetPseudonymInfoByOsAccountId() 487 return returnInfo; in GetPseudonymInfoByOsAccountId()
|
/ohos5.0/base/security/device_auth/interfaces/inner_api/ |
H A D | device_auth.h | 290 void (*destroyInfo)(char **returnInfo);
|
/ohos5.0/base/security/device_auth/frameworks/src/ |
H A D | ipc_sdk.c | 1361 static void IpcGmDestroyInfo(char **returnInfo) in IpcGmDestroyInfo() argument 1363 if ((returnInfo == NULL) || (*returnInfo == NULL)) { in IpcGmDestroyInfo() 1366 FreeJsonString(*returnInfo); in IpcGmDestroyInfo() 1367 *returnInfo = NULL; in IpcGmDestroyInfo()
|
/ohos5.0/base/security/device_auth/services/data_manager/src/ |
H A D | data_manager.c | 740 OsAccountTrustedInfo *returnInfo = g_deviceauthDb.pushBackT(&g_deviceauthDb, newInfo); in GetTrustedInfoByOsAccountId() local 741 if (returnInfo == NULL) { in GetTrustedInfoByOsAccountId() 746 return returnInfo; in GetTrustedInfoByOsAccountId()
|