Home
last modified time | relevance | path

Searched refs:FIELD_CREDENTIAL_TYPE (Results 1 – 16 of 16) sorted by relevance

/base/security/device_auth/services/cred_manager/src/account_related/
Daccount_related_cred_plugin.c91 if (GetIntFromJson(in, FIELD_CREDENTIAL_TYPE, &credentialType) != HC_SUCCESS) { in ProcessAccountCredentials()
/base/security/device_auth/services/authenticators/src/account_related/auth/pake_v2_auth_task/
Dpake_v2_auth_client_task.c56 GOTO_IF_ERR(GetIntFromJson(in, FIELD_CREDENTIAL_TYPE, &innerTask->params.credentialType)); in AsyAuthClientStepOne()
65 GOTO_IF_ERR(AddIntToJson(data, FIELD_CREDENTIAL_TYPE, innerTask->params.credentialType)); in AsyAuthClientStepOne()
198 GOTO_IF_ERR(AddIntToJson(sendToSelf, FIELD_CREDENTIAL_TYPE, ASYMMETRIC_CRED)); in SendFinalToOut()
Dpake_v2_auth_server_task.c133 GOTO_IF_ERR(GetIntFromJson(in, FIELD_CREDENTIAL_TYPE, &innerTask->params.credentialType)); in AsyAuthServerStepOne()
189 GOTO_IF_ERR(AddIntToJson(sendToSelf, FIELD_CREDENTIAL_TYPE, ASYMMETRIC_CRED)); in SendFinalToOut()
/base/security/device_auth/services/authenticators/src/account_related/
Daccount_task_main.c156 if (GetIntFromJson(in, FIELD_CREDENTIAL_TYPE, &credentialType) != CLIB_SUCCESS) { in NegotiateAndCreateSubTask()
/base/security/device_auth/interfaces/inner_api/
Ddevice_auth.h33 #define FIELD_CREDENTIAL_TYPE "credentialType" macro
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/
Diso_auth_task_common.c223 if (GetIntFromJson(in, FIELD_CREDENTIAL_TYPE, &params->credentialType) != CLIB_SUCCESS) { in InitIsoAuthParams()
405 if (AddIntToJson(sendToSelf, FIELD_CREDENTIAL_TYPE, params->credentialType) != CLIB_SUCCESS) { in AuthIsoSendFinalToOut()
Diso_auth_client_task.c90 if (AddIntToJson(sendToPeer, FIELD_CREDENTIAL_TYPE, params->credentialType) != CLIB_SUCCESS) { in PackIsoAuthClientBeginMsg()
/base/security/device_auth/services/group_manager/src/group_operation/across_account_group/
Dacross_account_group.c115 if (AddIntToJson(jsonParams, FIELD_CREDENTIAL_TYPE, deviceEntry->credential) != HC_SUCCESS) { in AddCredTypeToParamsFromIdenticalGroup()
284 if (AddIntToJson(delParams, FIELD_CREDENTIAL_TYPE, (int32_t)entry->credential) != HC_SUCCESS) { in GenerateDelTokenParams()
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_related_group_auth/
Daccount_related_group_auth.c276 if (AddIntToJson(paramsData, FIELD_CREDENTIAL_TYPE, authCredential) != HC_SUCCESS) { in FillAccountCredentialInfo()
560 if (GetIntFromJson(sendToSelf, FIELD_CREDENTIAL_TYPE, &credentialType) != HC_SUCCESS) { in PrepareTrustedDeviceInfo()
/base/security/device_auth/test/unittest/deviceauth/source/
Diso_auth_task_test.cpp85 (void)AddIntToJson(inJson, FIELD_CREDENTIAL_TYPE, SYMMETRIC_CRED);
110 (void)AddIntToJson(inJson, FIELD_CREDENTIAL_TYPE, ASYMMETRIC_CRED);
218 (void)AddIntToJson(inJson, FIELD_CREDENTIAL_TYPE, SYMMETRIC_CRED); in CreateServerTask()
584 (void)AddIntToJson(inJson, FIELD_CREDENTIAL_TYPE, SYMMETRIC_CRED); in CreateClientTask()
Ddeviceauth_standard_test.cpp307 (void)AddIntToJson(credentialJson, FIELD_CREDENTIAL_TYPE, ASYMMETRIC_CRED); in GetAsyCredentialJson()
367 (void)AddIntToJson(credJson, FIELD_CREDENTIAL_TYPE, SYMMETRIC_CRED); in CreateDemoSymClientIdenticalAccountGroup()
395 (void)AddIntToJson(credJson, FIELD_CREDENTIAL_TYPE, SYMMETRIC_CRED); in CreateDemoSymServerIdenticalAccountGroup()
/base/security/device_auth/test/unittest/deviceauth/unit_test/source/
Daccount_related_group_auth_dir_test.cpp278 (void)AddIntToJson(sendToSelf, FIELD_CREDENTIAL_TYPE, 2);
/base/security/device_auth/services/group_manager/src/group_operation/
Dgroup_operation_common.c432 if (AddIntToJson(json, FIELD_CREDENTIAL_TYPE, credentialType) != HC_SUCCESS) { in AddCredentialTypeToReturn()
782 if (GetIntFromJson(jsonParams, FIELD_CREDENTIAL_TYPE, &credType) != HC_SUCCESS) { in AddCredTypeToParams()
Dgroup_operation.c670 if (AddIntToJson(requestJson, FIELD_CREDENTIAL_TYPE, ASYMMETRIC_CRED) != HC_SUCCESS) { in GetRegisterInfo()
/base/security/device_auth/services/group_manager/src/group_operation/identical_account_group/
Didentical_account_group.c214 if (AddIntToJson(delParams, FIELD_CREDENTIAL_TYPE, (int32_t)entry->credential) != HC_SUCCESS) { in GenerateDelTokenParams()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/
Dcreds_manager_test.cpp354 (void)AddIntToJson(credentialJson, FIELD_CREDENTIAL_TYPE, ASYMMETRIC_CRED); in GetAsyCredentialJson()
402 (void)AddIntToJson(credJson, FIELD_CREDENTIAL_TYPE, SYMMETRIC_CRED); in CreateClientSymIdenticalAccountGroup()
430 (void)AddIntToJson(credJson, FIELD_CREDENTIAL_TYPE, SYMMETRIC_CRED); in CreateServerSymIdenticalAccountGroup()