make verify certs public
[org.ibex.crypto.git] / src / org / ibex / net / SSL.java
index 3331de6..f53a1ae 100644 (file)
@@ -991,7 +991,7 @@ public class SSL extends Socket {
     private static void debug(Object o) { if(debugOn) System.err.println("[IbexSSL-Debug] " + o.toString()); }
     private static void log(Object o) { System.err.println("[IbexSSL] " + o.toString()); }
             
-    private static void verifyCerts(X509.Certificate[] certs) throws DER.Exception, Exn {
+    public static void verifyCerts(X509.Certificate[] certs) throws DER.Exception, Exn {
         try {
             verifyCerts_(certs);
         } catch(RuntimeException e) {