Installing (using) JSSE to Visual Age
843811Nov 16 2001 — edited Nov 23 2001Hi all,
I have installed JSSE 1.0.2 in JDK 1.3.1 successfully.. Everything is working fine. However what I need to do is use JSSE under Visual Age 3.5... (my VA is iv3-4 jdk 1.2.2 (patched.))
I am importing three jar files which comes with JSSE but same test programs which works fine with JDK is not working under VA... Can anyone help about installation process of JSSE to VA?
Ex: Program below works fine with JDK1.3.1 but not under VA...
import java.net.*;
import javax.net.ssl.*;
public class JSSE_install_check {
public static void main(String[] args) throws Exception {
SSLServerSocketFactory factory =
(SSLServerSocketFactory) SSLServerSocketFactory.getDefault();
SSLServerSocket sslSocket =
(SSLServerSocket)factory.createServerSocket(5757);
String [] cipherSuites = sslSocket.getEnabledCipherSuites();
for (int i = 0; i < cipherSuites.length; i++) {
System.out.println("Cipher Suite " + i +
" = " + cipherSuites);
}
}
}
Thanks a lot.
Emre