Implement GCMKeyStore for storing public/private key-pairs.
commitc77563c9f45fcfdddabfe1f14565ae920eab34f7
authorpeter <peter@chromium.org>
Fri, 17 Jul 2015 12:04:15 +0000 (17 05:04 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 17 Jul 2015 12:04:53 +0000 (17 12:04 +0000)
tree909dd8102c118d43fdd70921284bdd2fa190e467
parent83011698be5f20098555b4d450aacf4fed1b7922
Implement GCMKeyStore for storing public/private key-pairs.

This CL implements a GCMKeyStore class, backed by a ProtoDatabase<>, that
enables us to store public/private key-pairs for association with
encrypted GCM messages.

TBR=sdefresne (+2 lines in BUILD.gn)
BUG=486040

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

Cr-Commit-Position: refs/heads/master@{#339242}
12 files changed:
components/BUILD.gn
components/components_tests.gyp
components/gcm_driver.gypi
components/gcm_driver/BUILD.gn
components/gcm_driver/crypto/BUILD.gn [new file with mode: 0644]
components/gcm_driver/crypto/DEPS [new file with mode: 0644]
components/gcm_driver/crypto/OWNERS [new file with mode: 0644]
components/gcm_driver/crypto/gcm_key_store.cc [new file with mode: 0644]
components/gcm_driver/crypto/gcm_key_store.h [new file with mode: 0644]
components/gcm_driver/crypto/gcm_key_store_unittest.cc [new file with mode: 0644]
components/gcm_driver/crypto/proto/BUILD.gn [new file with mode: 0644]
components/gcm_driver/crypto/proto/gcm_encryption_data.proto [new file with mode: 0644]