Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: chromeos/dbus/fake_easy_unlock_client.cc

Issue 518643002: Add ability to pass decryption key id to CreateSecureMessage method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromeos/dbus/fake_easy_unlock_client.cc
diff --git a/chromeos/dbus/fake_easy_unlock_client.cc b/chromeos/dbus/fake_easy_unlock_client.cc
index 4aa0a8616264312f8ec3942f8977042870d003bb..fe0aee1984a8bae46501119291406cf86328ed76 100644
--- a/chromeos/dbus/fake_easy_unlock_client.cc
+++ b/chromeos/dbus/fake_easy_unlock_client.cc
@@ -99,6 +99,7 @@ void FakeEasyUnlockClient::CreateSecureMessage(
const std::string& associated_data,
const std::string& public_metadata,
const std::string& verification_key_id,
+ const std::string& decryption_key_id,
const std::string& encryption_type,
const std::string& signature_type,
const DataCallback& callback) {
@@ -109,6 +110,7 @@ void FakeEasyUnlockClient::CreateSecureMessage(
"\"associated_data\": \"%s\","
"\"public_metadata\": \"%s\","
"\"verification_key_id\": \"%s\","
+ "\"decryption_key_id\": \"%s\","
"\"encryption_type\": \"%s\","
"\"signature_type\": \"%s\""
"}}",
@@ -117,6 +119,7 @@ void FakeEasyUnlockClient::CreateSecureMessage(
associated_data.c_str(),
public_metadata.c_str(),
verification_key_id.c_str(),
+ decryption_key_id.c_str(),
encryption_type.c_str(),
signature_type.c_str()));
}

Powered by Google App Engine
This is Rietveld 408576698