import org.ibex.net.SSL;
import org.ibex.crypto.*;
-public class SwingVerifyCallback extends JDialog implements SSL.VerifyCallback {
- private Component owner;
+public class SwingVerifyCallback /*extends JDialog*/ implements SSL.VerifyCallback {
+ //private Component owner;
- public SwingVerifyCallback(Component owner) {
- this.owner = owner;
+ public SwingVerifyCallback(/*Component*/Object owner) {
+ //this.owner = owner;
}
/*
super(owner,"Certificate Verification",true);
}
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");
}
}
return ret[0];
+ */
+ return false;
}
}