DescriptionDo a better job at faking simple challenge signatures.
(Redo due to http://crbug.com/645052)
By returning a signed simple challenge that can actually be parsed as SignedData, we allow callers of the FakeCryptohomeClient to extract the original data back and process it, making for better fake behavior and simpler tests.
Note that the signature is purposedly not verifiable in the FakeCryptohomeClient.
BUG=643245
TEST=chromeos_unittests; unit_tests and components_unittests also pass
TBR=xiyuan@chromium.org
Committed: https://crrev.com/911199cb30f608636c79d47e50dca84735e3a08f
Cr-Commit-Position: refs/heads/master@{#417118}
patch from issue 2297193006 at patchset 120001 (http://crrev.com/2297193006#ps120001)
Committed: https://crrev.com/7da3d8b32b30123c741dfd31371e45416c680bd4
Cr-Commit-Position: refs/heads/master@{#417509}
Patch Set 1 #Patch Set 2 : Fixed includes for protos and lint warnings. #Patch Set 3 : A bit too quick on that private: #Messages
Total messages: 19 (10 generated)
|