Re: NTE_BAD_SIGNATURE with CryptVerifySignature
- From: "Doug Barlow" <soft_pedal@xxxxxxxxxxx>
- Date: Fri, 20 Jan 2006 08:48:44 -0800
> Here is the code (stripped down some lines to make this compact)... Any
> suggestions / thougts on why this would fail with a NTE_BAD_SIGNATURE?
>From a quick glance, it looks like the length of your signed message
includes the trailing null character, but when you verify the message, you
don't incude that trailing null.
The signed and verified messages must be byte for byte identical.
The Soft Pedal Shop
CSP Design & Development Consulting