Re: Verifying Signatures
From: Valery Pryamikov (valery_at_harper.no)
Date: 11/04/05
- Next message: Jakub Gwozdz: "Re: linking WinSCard.lib in an MFC project"
- Previous message: Rhett Gong [MSFT]: "RE: Getting/Setting Local Group Policy data via API ?"
- Maybe in reply to: Valery Pryamikov: "Re: Verifying Signatures"
- Next in thread: Valery Pryamikov: "Re: Verifying Signatures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 4 Nov 2005 20:49:24 +1100
CryptVerifySignature expects little endian integer. are you sure you sending
complete signature to CryptVerifySignature?
-Valery.
http://www.harper.no/valery
"bender" <bender@discussions.microsoft.com> wrote in message
news:D601FB49-B735-42D1-B5FC-AC1A7E1D9034@microsoft.com...
>I tried the temp buffer and get the same error.
>
> Do you know what check comes first, the invalid sig check, or the memory
> check?
>
> If I pass in my PKCS#1 signature in big endian I get the not enough
> storage
> error.
>
> If I pass in my PKCS#1 signature in little endian I get the invalid
> signature error.
>
> If i fill my signature with all 0's I get invalid signature, which makes
> me
> believe I am passing the proper signature in the big endian form, but for
> some reason the method jumps out on me saying there is no storage.
>
> Does this sound familiar to anyone??
>
> Thanks!
- Next message: Jakub Gwozdz: "Re: linking WinSCard.lib in an MFC project"
- Previous message: Rhett Gong [MSFT]: "RE: Getting/Setting Local Group Policy data via API ?"
- Maybe in reply to: Valery Pryamikov: "Re: Verifying Signatures"
- Next in thread: Valery Pryamikov: "Re: Verifying Signatures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|