summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJanis Danisevskis <jdanis@google.com>2017-04-19 09:17:17 -0700
committerJanis Danisevskis <jdanis@google.com>2017-12-15 00:14:40 +0000
commit64338c0e4d0ec64c55abc34c0559d94ee352723c (patch)
treeca55c1153ac4e02df80af05dcf7fc2581f193e88 /tools/aapt2/java/JavaClassGenerator.cpp
parentbb91f5fe94188de451726dd83cdaffd5944f5108 (diff)
Consolidate Keystore alias prefixes.
Currently, the keystore SPI assigns different prefixes to user key entries depending on the algorithm. Symmetric keys (secret keys) get the prefix USERSKEY_ and asymmetric keys (private keys) get the prefix USERPKEY_. This distinction is superfluous, as the information can always be retrieved from the key characteristics. Also moving forward it is desirable to be able to import keys the nature of which is not known a priori. In these cases the prefix cannot be chosen meaningfully. This patch deprecates one of the prefixes (i.e. USERSKEY_) and uses the other for both types of keys. Legacy keys with the old prefix can still be used, but all new keys will have the prefix USERPKEY_. Bug: 63931634 Test: CTS test and Manual upgrade test with KeyStoreTool app Also performed upgrade test with device PIN set Change-Id: I5b4bb0b0d2b82c276659d55b862150326bb68d5d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions