Proper Hostname Verifier In App According To Googe Play Store
I am using following code till now to call 'https' APIs in app. public class HttpsTrustManager implements X509TrustManager { private static TrustManager[] trustManagers; private
Solution 1:
That is not a valid or secure implementation of SSL, nor is your proposed solution.
The correct solution is to delete all of this code.
The only thing your allowAllSSL
method does is completely disable all SSL security. You're opening your users up to network-based eavesdropping and attacks by doing this.
Post a Comment for "Proper Hostname Verifier In App According To Googe Play Store"