When creating easy signin challenge, user easyUnlock.WrapPublicKey method
commit92df6379c5abf9986dfa088465b31a2e649b5c72
authortbarzic <tbarzic@chromium.org>
Wed, 5 Nov 2014 23:38:09 +0000 (5 15:38 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 5 Nov 2014 23:38:26 +0000 (5 23:38 +0000)
treee95aa663ceb01d45507e82a8303dbd6b752d000b
parent6e8ed1298508737a338bdb2e31773a35f68c4bc7
When creating easy signin challenge, user easyUnlock.WrapPublicKey method

This adds client code for easyUnlock.WrapPublicKey methos and utilizes it
in easy signin challenge creation procedure.

The method converts DER formatted public RSA key to public key format
used by secure messages exchanged over communication channel with the phone.

Instead of hardcoding the wrapped public key, we now hardcode the public key
(one step closer to desired logic -> not hardcoding anything).

Also, reordered methods in dbus client to match the order in service code.

BUG=409027

Review URL: https://codereview.chromium.org/700663002

Cr-Commit-Position: refs/heads/master@{#302902}
chrome/browser/chromeos/login/easy_unlock/easy_unlock_create_keys_operation.cc
chromeos/dbus/easy_unlock_client.cc
chromeos/dbus/easy_unlock_client.h
chromeos/dbus/fake_easy_unlock_client.cc
chromeos/dbus/fake_easy_unlock_client.h