DSA Verify

Vincent yu (vyu@certco.com)
Wed, 13 Aug 1997 16:52:29 -0400

From: "Vincent yu"<vyu@certco.com>
To: java-security@web2.javasoft.com
Date: Wed, 13 Aug 1997 16:52:29 -0400
Subject: DSA Verify

I need to do DSA Verify for my application. I have p,q,g, public key, r, s
and the text. Is there any class to do it? Can you provide me example if
there is.

If I want to write my own class. One step in the calculation is v = ((((g
pow u1) * (y pow u2)) mod p) mod q. All the variables are BigInteger. The
BigInteger class only provides method "pow" with parameter of integer as
the exponent. How can I do the calculation?

Please let me know.
Thanks, Vincent