Home
last modified time | relevance | path

Searched refs:FIELD_PEER_AUTH_ID (Results 1 – 20 of 20) sorted by relevance

/base/security/device_auth/services/group_auth/src/group_auth_manager/account_unrelated_group_auth/
Daccount_unrelated_group_auth.c104 const char *peerAuthId = GetStringFromJson(authParam, FIELD_PEER_AUTH_ID); in AddPeerAuthIdToSelfData()
110 if (AddStringToJson(returnToSelf, FIELD_PEER_AUTH_ID, peerAuthId) != HC_SUCCESS) { in AddPeerAuthIdToSelfData()
311 if (AddStringToJson(paramsData, FIELD_PEER_AUTH_ID, peerAuthId) != HC_SUCCESS) { in AddNonAccountAuthInfo()
335 peerAuthId = GetStringFromJson(paramsData, FIELD_PEER_AUTH_ID); in FillNonAccountAuthInfo()
387 const char *peerAuthId = GetStringFromJson(confirmationJson, FIELD_PEER_AUTH_ID); in CombineDasServerConfirmParams()
/base/security/device_auth/frameworks/deviceauth_lite/source/struct/
Dauth_start_request.c65 (void)byte_convert(obj, FIELD_PEER_AUTH_ID, (uint8_t *)auth_start_request->self_auth_id.auth_id, in parse_auth_start_request()
116 FIELD_PEER_AUTH_ID, tmp_hex.tmp_auth_id_data_hex, in make_request_json_str()
Dparsedata.h189 #define FIELD_PEER_AUTH_ID "peerAuthId" macro
Dauth_start_response.c111 as_res->self_support_version.third, FIELD_PEER_AUTH_ID, tmp_hex.tmp_auth_id_data_hex, in make_response_json_str()
/base/security/device_auth/services/key_agree_sdk/inc/
Dkey_agree_session.h30 #define FIELD_PEER_AUTH_ID "peerAuthId" macro
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/
Dcreds_manager_test.cpp712 (void)AddStringToJson(json, FIELD_PEER_AUTH_ID, TEST_AUTH_ID2.c_str());
727 (void)AddStringToJson(json, FIELD_PEER_AUTH_ID, TEST_AUTH_ID2.c_str());
743 (void)AddStringToJson(json, FIELD_PEER_AUTH_ID, TEST_AUTH_ID2.c_str());
760 (void)AddStringToJson(json, FIELD_PEER_AUTH_ID, TEST_AUTH_ID2.c_str());
776 (void)AddStringToJson(json, FIELD_PEER_AUTH_ID, TEST_AUTH_ID2.c_str());
795 (void)AddStringToJson(json, FIELD_PEER_AUTH_ID, TEST_AUTH_ID2.c_str());
823 (void)AddStringToJson(json, FIELD_PEER_AUTH_ID, TEST_AUTH_ID2.c_str());
842 (void)AddStringToJson(json, FIELD_PEER_AUTH_ID, TEST_AUTH_ID2.c_str());
857 (void)AddStringToJson(json, FIELD_PEER_AUTH_ID, TEST_AUTH_ID2.c_str());
1133 AddStringToJson(json, FIELD_PEER_AUTH_ID, TEST_AUTH_ID2.c_str());
[all …]
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/iso_protocol_task/
Diso_server_protocol_task.c62 … GOTO_ERR_AND_SET_RET(AddByteToJson(payload, FIELD_PEER_AUTH_ID, params->baseParams.authIdSelf.val, in PackageServerStartMessage()
141 … GOTO_ERR_AND_SET_RET(AddByteToJson(payload, FIELD_PEER_AUTH_ID, params->baseParams.authIdSelf.val, in PackDataForCalTokenServer()
Diso_client_protocol_task.c62 … GOTO_ERR_AND_SET_RET(AddByteToJson(payload, FIELD_PEER_AUTH_ID, params->baseParams.authIdSelf.val, in IsoClientStartPackData()
127 … GOTO_ERR_AND_SET_RET(AddByteToJson(payload, FIELD_PEER_AUTH_ID, params->baseParams.authIdSelf.val, in PackDataForCalToken()
/base/security/device_auth/services/session_manager/src/session/v2/
Ddev_session_util.c39 peerDeviceId = GetStringFromJson(context, FIELD_PEER_AUTH_ID); in GetPeerDeviceEntryByContext()
236 if (AddStringToJson(context, FIELD_PEER_AUTH_ID, peerAuthId) != HC_SUCCESS) { in SetPeerAuthIdByDb()
247 const char *peerAuthId = GetStringFromJson(context, FIELD_PEER_AUTH_ID); in FillPeerAuthIdIfNeeded()
/base/security/device_auth/interfaces/inner_api/
Ddevice_auth.h51 #define FIELD_PEER_AUTH_ID "peerAuthId" macro
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/
Dpake_v1_server_protocol_task.c66 res = AddByteToJson(payload, FIELD_PEER_AUTH_ID, params->baseParams.idSelf.val, in PackageMsgForResponse()
Dpake_v1_client_protocol_task.c67 res = AddByteToJson(payload, FIELD_PEER_AUTH_ID, params->baseParams.idSelf.val, in PakeRequest()
/base/security/device_auth/services/authenticators/src/account_unrelated/
Ddas_task_common.c384 const char *authIdStr = GetStringFromJson(payload, FIELD_PEER_AUTH_ID); in GetAndCheckAuthIdPeer()
426 int res = GetIdPeer(payload, FIELD_PEER_AUTH_ID, authIdSelf, authIdPeer); in GetAuthIdPeerFromPayload()
/base/security/device_auth/services/creds_manager/src/
Dcreds_operation_utils.c163 return GetStringFromJson(in, FIELD_PEER_AUTH_ID); in GetPeerDevIdFromJson()
/base/security/device_auth/services/key_agree_sdk/src/
Dkey_agree_session.c267 int32_t res = GetIdPeer(payload, FIELD_PEER_AUTH_ID, authIdSelf, authIdPeer); in GetAuthIdPeerFromPayload()
341 …res = AddByteToJson(payload, FIELD_PEER_AUTH_ID, baseParams->idSelf.val, baseParams->idSelf.length… in PackagePakeClientConfirmData()
478 …res = AddByteToJson(payload, FIELD_PEER_AUTH_ID, baseParams->idSelf.val, baseParams->idSelf.length… in PackagePakeResponseData()
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/
Dpake_task_common.c159 authId = GetStringFromJson(in, FIELD_PEER_AUTH_ID); in FillAuthId()
/base/security/device_auth/services/session_manager/src/session/v1/compatible_auth_sub_session/
Dcompatible_auth_sub_session_common.c163 peerAuthId = GetStringFromJson(param, FIELD_PEER_AUTH_ID); in FillAuthParams()
/base/security/device_auth/services/session_manager/src/session/v1/compatible_bind_sub_session/
Dcompatible_bind_sub_session_common.c354 …if (peerAuthId != NULL && AddStringToJson(session->params, FIELD_PEER_AUTH_ID, peerAuthId) != HC_S… in AddPeerAuthIdAndUdidIfExist()
Dcompatible_bind_sub_session.c481 peerAuthId = GetStringFromJson(session->params, FIELD_PEER_AUTH_ID); in OnBindFinish()
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/
Diso_task_common.c320 authId = GetStringFromJson(in, FIELD_PEER_AUTH_ID); in FillAuthId()