RELAND: WifiKeyStore: Always use a different alias for CA
The public keystore API's don't allow the usage of the same key alias
for CA certificates and private key/cert entries. So, switch to a
different naming scheme.
Also, this aligns the wifi enterprise network key alias naming scheme with
passpoint networks, i.e priv key/cert have alias A, CA cert have alias
A_0, A_1, etc.
Fixed a bug in the previous version of the CL: Add the correct alias
name in the list.
Bug: 148861206
Test: atest com.android.server.wifi
Test: Verified that all EAP regression tests are passing.
Change-Id: I6dfd32a4b11fd531b4b63e573e4a39f2efd27965
2 files changed