Testing how to use x509certificate in Android: verifying certificate, getting certificate info. Basically, everything is the same as in Java