[prev in list] [next in list] [prev in thread] [next in thread]
List: bouncycastle-crypto-dev
Subject: [dev-crypto] Problem with Signature Verification
From: "Doug Schaible" <dougjrs () gmail ! com>
Date: 2007-06-13 17:40:14
Message-ID: d6ceb1f0706131040ld25bf61o1a75f78fadfbdb1f () mail ! gmail ! com
[Download RAW message or body]
Good Afternoon,
I am trying to verify a signature that was created by an ASP.net application
in java. So far everything that I have attempted has failed. I am able to
create signatures that can be verified in ASP.net.
Does anyone have any pointers that could help me?
Thanks,
Doug
Here is my signature verification code:
Signature sig = Signature.getInstance("SHA1withRSA");
sig.initVerify(PubKey);
sig.update(CipherString.getBytes());
verifies = sig.verify(SignatureString.getBytes());
[Attachment #3 (text/html)]
<div>Good Afternoon,</div>
<div> </div>
<div>I am trying to verify a signature that was created by an ASP.net application in \
java. So far everything that I have attempted has failed. I am able to \
create signatures that can be verified in ASP.net.</div> <div> </div>
<div>Does anyone have any pointers that could help me?</div>
<div> </div>
<div>Thanks,</div>
<div>Doug</div>
<div> </div>
<div>Here is my signature verification code:</div>
<div> </div>
<div> </div>
<div> Signature sig = \
Signature.getInstance("SHA1withRSA");<br> sig.initVer \
ify(PubKey);<br> sig.update(CipherString.getBytes());<br> verifies \
= sig.verify(SignatureString.getBytes());</div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic