attestation: Implemented RegisterKeyWithChapsToken.

BUG=brillo:737
TEST=unit, manually using 'attestation_client register' and 'p11_replay
--list_objects' as well as manually checking the chrome certificate
manager after registration.

Change-Id: I147f52fea8b0cb1c3cccaad98cffca5c08d032e3
Reviewed-on: https://chromium-review.googlesource.com/270144
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
Commit-Queue: Darren Krahn <dkrahn@chromium.org>
Tested-by: Darren Krahn <dkrahn@chromium.org>
20 files changed
tree: 3e22dc8d15829c1a21c80325b7a7c3dcf4ce3370
  1. OWNERS
  2. attestation.gyp
  3. attestation_testrunner.cc
  4. client/
  5. common/
  6. server/