/base/security/device_auth/services/cred_manager/src/account_related/ |
D | account_related_cred_plugin.c | 91 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/ |
D | pake_v2_auth_client_task.c | 56 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()
|
D | pake_v2_auth_server_task.c | 133 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/ |
D | account_task_main.c | 156 if (GetIntFromJson(in, FIELD_CREDENTIAL_TYPE, &credentialType) != CLIB_SUCCESS) { in NegotiateAndCreateSubTask()
|
/base/security/device_auth/interfaces/inner_api/ |
D | device_auth.h | 33 #define FIELD_CREDENTIAL_TYPE "credentialType" macro
|
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/ |
D | iso_auth_task_common.c | 223 if (GetIntFromJson(in, FIELD_CREDENTIAL_TYPE, ¶ms->credentialType) != CLIB_SUCCESS) { in InitIsoAuthParams() 405 if (AddIntToJson(sendToSelf, FIELD_CREDENTIAL_TYPE, params->credentialType) != CLIB_SUCCESS) { in AuthIsoSendFinalToOut()
|
D | iso_auth_client_task.c | 90 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/ |
D | across_account_group.c | 115 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/ |
D | account_related_group_auth.c | 276 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/ |
D | iso_auth_task_test.cpp | 85 (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()
|
D | deviceauth_standard_test.cpp | 307 (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/ |
D | account_related_group_auth_dir_test.cpp | 278 (void)AddIntToJson(sendToSelf, FIELD_CREDENTIAL_TYPE, 2);
|
/base/security/device_auth/services/group_manager/src/group_operation/ |
D | group_operation_common.c | 432 if (AddIntToJson(json, FIELD_CREDENTIAL_TYPE, credentialType) != HC_SUCCESS) { in AddCredentialTypeToReturn() 782 if (GetIntFromJson(jsonParams, FIELD_CREDENTIAL_TYPE, &credType) != HC_SUCCESS) { in AddCredTypeToParams()
|
D | group_operation.c | 670 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/ |
D | identical_account_group.c | 214 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/ |
D | creds_manager_test.cpp | 354 (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()
|