Home
last modified time | relevance | path

Searched refs:returnInfo (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/dependency/hichain/
H A Dmine_hichain_connector.cpp140 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 Dcreds_manager.c137 …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 Dcreds_manager.h28 …_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 Dcert_operation_mock.c48 …_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 Didentity_pin.c184 …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 Didentity_p2p.c158 …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 Didentity_group.c220 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 Dcert_operation.c773 …_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 Didentity_manager.h44 …(*getCredInfoByPeerUrl)(const CJson *in, const Uint8Buff *presharedUrl, IdentityInfo **returnInfo);
47 …2_t (*getCredInfoByPeerCert)(const CJson *in, const CertInfo *certInfo, IdentityInfo **returnInfo);
H A Dcert_operation.h31 …t GetAccountAsymCredInfo(int32_t osAccountId, const CertInfo *certInfo, IdentityInfo **returnInfo);
/ohos5.0/base/security/device_auth/services/legacy/group_manager/src/
H A Dgroup_manager.c151 void DestroyInfoImpl(char **returnInfo) in DestroyInfoImpl() argument
154 GetGroupImplInstance()->destroyInfo(returnInfo); in DestroyInfoImpl()
/ohos5.0/foundation/distributedhardware/device_manager/test/unittest/mock/
H A Ddevice_auth.h182 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 Dgroup_manager.h54 void DestroyInfoImpl(char **returnInfo);
H A Dgroup_operation.h57 void (*destroyInfo)(char **returnInfo);
/ohos5.0/base/security/device_auth/services/legacy/group_manager/src/group_operation/
H A Dgroup_operation.c1188 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 Dsym_token_manager.c566 OsSymTokensInfo *returnInfo = g_symTokensDb.pushBackT(&g_symTokensDb, newInfo); in GetTokensInfoByOsAccountId() local
567 if (returnInfo == NULL) { in GetTokensInfoByOsAccountId()
571 return returnInfo; in GetTokensInfoByOsAccountId()
H A Dasy_token_manager.c1043 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 Dpseudonym_manager.c482 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 Ddevice_auth.h290 void (*destroyInfo)(char **returnInfo);
/ohos5.0/base/security/device_auth/frameworks/src/
H A Dipc_sdk.c1361 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 Ddata_manager.c740 OsAccountTrustedInfo *returnInfo = g_deviceauthDb.pushBackT(&g_deviceauthDb, newInfo); in GetTrustedInfoByOsAccountId() local
741 if (returnInfo == NULL) { in GetTrustedInfoByOsAccountId()
746 return returnInfo; in GetTrustedInfoByOsAccountId()