[WPA3-Enterprise] Improve the security and robustness of profiles

Updated the logic with more robust checks that enforcechecks on
all CA certificates in the list and on the usercertificate as well.

Bug: 161939357
Test: atest WifiKeyStoreTest
Test: Connect to WPA3-Enterprise 192-bit ECDSA and RSA networks
Test: Connect to WPA2-Enterprise network
Change-Id: I8e6becb66f245ee36a9b4e62569784f567412a33
2 files changed
tree: d1b02d7f3cb115cdffb9d6a7c199b28866d64722
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg