Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Installing (using) JSSE to Visual Age

843811Nov 16 2001 — edited Nov 23 2001
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 21 2001
Added on Nov 16 2001
2 comments
128 views