diff options
author | Dan Cashman <dcashman@google.com> | 2018-01-23 11:18:28 -0800 |
---|---|---|
committer | Dan Cashman <dcashman@google.com> | 2018-01-30 16:59:31 -0800 |
commit | 1dbe6d02849cb4af87bbd26b7537e11badead3b1 (patch) | |
tree | 9e0f2ec09d4f7f35a564874515759fac8f894a25 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a656b8bf9fddf18c506a4f59989d55b9eb6abaa8 (diff) |
Add key rotation.
Change certificate checks to also consider the possibility of
signing certificate rotation by checking the
SigningDetails#pastSigningCertificates field. In particular, add a
SigningDetails#checkCapability method which reports whether or not
the older SigningDetails is an ancestor of the current one, and
queries whether or not the old one has been granted capabilities,
such as being a sharedUser.
Bug: 64686581
Test: Builds, boots, browser and camera work, all with v3 signing.
Change-Id: I4199ff3f2d9ae959325b117b28e666ae31889800
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions