DSA and Signature

Bernard Leach (leachbj@aba.net.au)
Thu, 22 Apr 1999 12:33:35 +1000

Date: Thu, 22 Apr 1999 12:33:35 +1000
From: Bernard Leach <leachbj@aba.net.au>
To: java-security@java.sun.com
Subject: DSA and Signature

Hi,

I was just wondering why when the algorithm "DSA" is passed
to the Signature getInstance() method it performs a lookup
for the algorithm "SHA/DSA"?

In the Signature.getInstance() method there is;

if (algorithm.equalsIgnoreCase("DSA"))
algorithm = new String("SHA/DSA");

But the JCA specification makes no mention of this! It
does specify the correct name for the algorithm is SHAwithDSA
but there is no mention of SHA/DSA.

bernard.