I'm developping an app which may send sensitive data and I want to be sure that i don't send them on a public or weak protected network. That's why I'd like to get the current security used on wifi network on Android.
I found this post but I'm not sure of the accuracy of the solution. Indeed, the allowedKeyManagement method seems to return the supported protocols, but it's not explicitely said to return the current active protocol beeing used. Is there a sure way to get the effective protection used on the cirrent wifi network ?
Thanks
I can suggest one method