Re: CryptVerifySignature fail with message NTE_BAD_SIGNATURE



On Jun 5, 8:47 am, Mounir IDRASSI <mooni...@xxxxxxxxxxxxxxxxx> wrote:
Hi,

In order to correct this error, you have to replace the parameter
szDescription in the call of CryptVerifySignature by NULL. Putting a non null
value for this parameter is what causes this function to fail. Microsoft
should correct the sample on their web site according to this...

Cheers,
--
Mounir IDRASSI
IDRIXhttp://www.idrix.fr

to reach : mounir_idrix_fr (replace the underscores with the at and dot
characters respectively)



"visalav...@xxxxxxxxxxxxx" wrote:
Hi all,

I am using crypto apis in windows mobile. but its giving error message
saying NTE_BAD_SIGNATURE,
Can anybody please help me out. I am used the code from the link :
http://msdn.microsoft.com/en-us/library/aa382371.aspx

Please post me any guess

Thanks
Vishal- Hide quoted text -

- Show quoted text -

Hi Mounir,
My requirement is to Create a digital signatrue. I Want to use public
key to encrypt and private key to decrypt.
I guess the param AT_EXCHANGE will be used to when we export the key,
but i am not sure how the things works.

Can you please help me in this regard.

Thanks
.