summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEran Messeri <eranm@google.com>2018-08-24 15:29:05 +0100
committerEran Messeri <eranm@google.com>2018-09-05 13:58:32 +0100
commit9ccec4d2d4ea4a3ccb80bae8687782cd8fb99e77 (patch)
treeacd456e98341aba6f4639801eb95dada9713e275 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentbf57547efb4bda96f5af5d3dc9100599ecf779ff (diff)
Handle issuer and key type restrictions.
The caller to KeyChain.choosePrivateKeyAlias can restrict the set of aliases that are displayed to the user to select from by specifying the issuers that the associated certificates should be issued by or the key types that these certificates should contain. Until now this functionality was not implemented. This was mostly affecting Chrome (https://bugs.chromium.org/p/chromium/issues/detail?id=753756). Support this functionality by passing the issuers and key types into the KeyChainActivity (from KeyChain) and, prior to displaying the aliases associated with the certificates, check if each certificate adheres to the criteria (key type, issues) specified. Bug: 62910781 Test: m -j RunKeyChainRoboTests Change-Id: I75e071545699891cfbd77d4f706fc5ef35b85516
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions