I have SSL connection. If I use feddler or Charles app, and I can to see decrypted SSL data. How I can to prevent this bug?
Update: I was NOT imported the certificate for Charles, my android device is rooted and I use Proxy Droid app and allowed untrusted apps. After this manipulations I can to see decrypted data. I want to block this bug...
Update2: I use the class EasyX509TrustManager.java (apache) for checking the certificate. You can see void checkServerTrusted. If I use "certificates[0].checkValidity();" - certificate ALWAYS valid, but if I use "standardTrustManager.checkServerTrusted( certificates, authType );" - the certificate can be valid (charles turned off) or invalid (with charles). without "certificates[0].checkValidity();" it works fine, but I'm not sure if that is right.