All

I have a question with regard to the process flow for RSA signature
verification process. 

I receive a simple PKCS#7 blob file which was generated using cryptopp
library. While trying to verify the signature using a java utility I get
signature failure errors. 


I then used cryptopp on the receiving side as well in the debug mode.
When I am calling the function VerifyMessage() I am passing on the hash
value (SHA1 padded with OID), hash length (35) and the signature value. 

During the VerifyAndRestart() I see that the hash value is being
transformed to the SHA value of the text file when the call
messageAccumulator.Final(digest) is finished. Can anyone please explain
to me what exactly is happening here? Any help is welcome.

Thanks
Seshu

Reply via email to