Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributedhardware/device_manager/services/implementation/src/credential/
H A Ddm_credential_manager.cpp34 constexpr const char* FIELD_CREDENTIAL_VERSION = "version"; variable
104 if (!IsString(jsonObject, FIELD_USER_ID) || !IsString(jsonObject, FIELD_CREDENTIAL_VERSION)) { in RequestCredential()
109 std::string credentialVersion = jsonObject[FIELD_CREDENTIAL_VERSION].get<std::string>(); in RequestCredential()
111 jsonObj[FIELD_CREDENTIAL_VERSION] = credentialVersion; in RequestCredential()
307 … if (!IsString(jsonObject, FIELD_USER_ID) || !IsString(jsonObject, FIELD_CREDENTIAL_VERSION) || in GetCredentialData()
314 std::string verSion = jsonObject[FIELD_CREDENTIAL_VERSION].get<std::string>(); in GetCredentialData()
319 jsonPkInfo[FIELD_CREDENTIAL_VERSION] = verSion; in GetCredentialData()