- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 21 Mar 2010 22:33:54 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/request In directory hutz:/tmp/cvs-serv3879/src/org/w3c/unicorn/request Added Files: TrustAllManager.java Log Message: TrustManager class that trusts any SSL certificate --- NEW FILE: TrustAllManager.java --- package org.w3c.unicorn.request; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; import javax.net.ssl.X509TrustManager; public class TrustAllManager implements X509TrustManager { public void checkClientTrusted(X509Certificate[] arg0, String arg1) throws CertificateException { } public void checkServerTrusted(X509Certificate[] arg0, String arg1) throws CertificateException { } public X509Certificate[] getAcceptedIssuers() { return null; } }
Received on Sunday, 21 March 2010 22:33:56 UTC