Back to project page MtGoxWidget.
The source code is released under:
Apache License
If you think the Android project MtGoxWidget 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 st.brothas.mtgoxwidget.net; //w w w.j a v a 2 s .c om import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import javax.net.ssl.X509TrustManager; /* * Taken from: http://meneameandroid.googlecode.com/svn/trunk/src/com/dcg/auth/TrustAllManager.java * Big thanks to B.Thax.DCG and pakore! * */ public class TrustAllManager implements X509TrustManager { public void checkClientTrusted(X509Certificate[] cert, String authType) throws CertificateException { } public void checkServerTrusted(X509Certificate[] cert, String authType) throws CertificateException { } public X509Certificate[] getAcceptedIssuers() { return null; } }