Back to project page wordpress-stats-widget.
The source code is released under:
GNU General Public License
If you think the Android project wordpress-stats-widget listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.lucasr.wordpress; /*w w w. ja v a 2s. c om*/ import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import javax.net.ssl.X509TrustManager; public class TrustAllManager implements X509TrustManager { @Override public void checkClientTrusted(X509Certificate[] cert, String authType) throws CertificateException { } @Override public void checkServerTrusted(X509Certificate[] cert, String authType) throws CertificateException { } @Override public X509Certificate[] getAcceptedIssuers() { return null; } }