Home
last modified time | relevance | path

Searched refs:FIELD_SERVER_PK (Results 1 - 2 of 2) sorted by relevance

/foundation/distributedhardware/device_manager/services/implementation/src/credential/
H A Ddm_credential_manager.cpp36 constexpr const char* FIELD_SERVER_PK = "serverPk"; member
67 !IsString(jsonObject, FIELD_SERVER_PK) || !IsString(jsonObject, FIELD_PKINFO_SIGNATURE) || in from_json()
75 credentialData.serverPk = jsonObject[FIELD_SERVER_PK].get<std::string>(); in from_json()
322 jsonCreObj[FIELD_SERVER_PK] = inputCreData.serverPk; in GetCredentialData()
345 if (IsString(jsonObject, FIELD_SERVER_PK)) { in from_json()
346 credentialDataInfo.serverPk = jsonObject[FIELD_SERVER_PK].get<std::string>(); in from_json()
376 jsonObject[FIELD_SERVER_PK] = credentialDataInfo.serverPk; in to_json()
/foundation/distributedhardware/device_manager/test/commonunittest/
H A DUTTest_dm_credential_manager.cpp1647 jsonOutObj[FIELD_SERVER_PK] = 0; in HWTEST_F()
1656 jsonOutObj[FIELD_SERVER_PK] = "serverPk"; in HWTEST_F()
1712 EXPECT_EQ(jsonObject[FIELD_SERVER_PK].get<std::string>(), "test"); in HWTEST_F()

Completed in 4 milliseconds