Re: Raw DSA support

Jan Luehe (luehe@laguna.eng.sun.com)
Mon, 24 May 1999 10:11:55 -0700 (PDT)

Message-Id: <199905241711.KAA11928@laguna.eng.sun.com>
Date: Mon, 24 May 1999 10:11:55 -0700 (PDT)
From: Jan Luehe <luehe@laguna.eng.sun.com>
Subject: Re: Raw DSA support
To: java-security@java.sun.com, ekr@rtfm.com

Eric:

> I can't seem to get the DSA implementation provided with JDK 1.1.X to
> do DSA in any mode other than SHA/DSA. I'm assuming that I should be
> calling Signature.getInstance("RawDSA") to compute the digest myself
> and that this just isn't supported by the provider. Or is some other
> canonical name I need to use?
>
> I'm not looking forward to doing my own DSA implementation, but I'll
> have to if I can't get raw access to the algorithm. :(

Correct. The SUN provider does not make its "RawDSA" implementation
accessible.

However, since we make our source code available
(http://java.sun.com/communitysource), it should be trivial
for you to write your own provider that supports "RawDSA":
just eliminate the SHA1 digest from sun.security.provider.DSA.

Jan