wifi: add getSecurityType and createSecurityParamsBySecurityType methods

For backup/restore, it needs to know security type and create a security
params from the security type.

Bug: 162685856
Test: atest FrameworksWifiApiTes
Change-Id: I2a52a288157d7875074f8e20218d564c363b568f
4 files changed
tree: de0360c1464179187b0a448a05e3d11054279d58
  1. framework/
  2. OsuLogin/
  3. OWNERS