# getCiphers[]

Eric Westerkamp (eric@quickstream.com)
Thu, 26 Jun 1997 16:47:00 -0600

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Winter, Michael: "International availability of JCE?"
- Previous message: CER: "Re: Browser Vulnerability (VU#16403)"
- Next in thread: Jan Luehe: "Re: getCiphers[]"

    Date: Thu, 26 Jun 1997 16:47:00 -0600

    From: Eric Westerkamp <eric@quickstream.com>

    To: java-security@web2.javasoft.com

    Subject: getCiphers[]

It would be really usefull if the providers class would give a
function like getCiphers() which returns an array of available
ciphers from that provider.

I am building our security policy into our QuickDoc product.
I would like to be able to detect the providers available,
find out the cipher algorithms available in that provider,
and get that list.

At that point my client and server application could take the
union of the ciphers they have available, and the user could
pick the cipher to use.

I noticed that Providers inherits from properties. There is a
KeyGenerator.DES property in the SUN provider. Will all
algorithms that support KeyGenerator contain a property like
KeyGenerator.XXXXX ?

If so then I could use this as my list.

Help would be greatly apprciated. I would hate to have to write
code that check every provider for every algorithm I could
think of, just to see if I got back a NoSuchAlgorithm exception.

Regards,

Eric Westerkamp
QuickStream Software
http://www.quickstream.com
Catalyst Partner
Sun ISV
Sun IAP

- Next message: Winter, Michael: "International availability of JCE?"
- Previous message: CER: "Re: Browser Vulnerability (VU#16403)"
- Next in thread: Jan Luehe: "Re: getCiphers[]"