finished last of the compile errors
[org.ibex.crypto.git] / src / org / ibex / net / ssl / SwingVerifyCallback.java
index 3d2d5bb..832ef2f 100644 (file)
@@ -5,7 +5,7 @@ import javax.swing.*;
 import java.awt.*;
 
 import org.ibex.net.SSL;
-import org.ibex.x509.X509Certificate;
+import org.ibex.crypto.*;
 
 public class SwingVerifyCallback extends JDialog implements SSL.VerifyCallback {
     private Component owner;
@@ -53,7 +53,7 @@ public class SwingVerifyCallback extends JDialog implements SSL.VerifyCallback {
         return sb.toString();
     }
     
-    public synchronized boolean checkCerts(X509Certificate[] certs, String hostname, SSL.Exn exn) {
+    public synchronized boolean checkCerts(X509.Certificate[] certs, String hostname, SSL.Exn exn) {
         final boolean[] ret = new boolean[1];
         JTextArea ta = new JTextArea();
         ta.append("Subject: " + certs[0].subject + "\n");