commit | ce50cd302a8cf2199660e99334888131a0d47926 | [log] [tgz] |
---|---|---|
author | Robert Berry <robertberry@google.com> | Thu Dec 07 14:33:54 2017 +0000 |
committer | Robert Berry <robertberry@google.com> | Fri Dec 08 17:47:56 2017 +0000 |
tree | 322ea5f83464384489d4ab4f2b161cc574f4f5ca | |
parent | 4d51f44535ff3935c0aabed0371dc988112b925b [diff] |
Add helpers for generating keys, wrapping them, and persisting them As part of the RecoverableKeyStoreLoader, we need to be able to generate new 256-bit AES keys, sync them with AndroidKeyStore, and persist them, wrapped to disk. This allows us to recover them later, using a Platform key, and sync them with remote storage. Test: manual for now (how do we do automated tests on Framework?) Change-Id: I32e0beabaecc9bea9f95ca2beea851e9be833358