DSA certificates/SSLSocket.

Arjun Khanna (arjun@jump.net)
Wed, 30 Sep 1998 10:01:07 -0500

Hi!
I had posted a similar msg to the list a few days back... been searching
since then but to no avail. So I thought I'll retry.

Basically- I want to construct a DSA certificate and associate it with an
SSL connection using the javax.net.ssl.SSSSocket class (which I know is
abstract).

when I compile a simple program to print out the supported cipher suites (I
am using the ssl.jar with the HotJava Browser)- I get the following
supported ciphers:
Supported Suite : SSL_DH_anon_WITH_DES_CBC_SHA
Supported Suite : SSL_DH_anon_WITH_3DES_EDE_CBC_SHA
Supported Suite : SSL_DHE_DSS_WITH_DES_CBC_SHA
Supported Suite : SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
Supported Suite : SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA
Supported Suite : SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA

since there is support for doing DHE with DSS- there has to be a way of
associating a DSA certificate with an SSL connection (unless client
authentication at the server is unsupported - highly unlikely!)

Could someone send me a link, a code snippet on how to associate a DSA
certificate with an SSL (connection) Socket?

I have the book Java cryptography by Jonathan Kundsen. That discusses cert.
generation but not its integration with Java SSLSockets. I have looked at
the JDC- nothing there, either. I have also scanned the archives of this list.

Thanks in advance.
-Arjun Khanna