Re: MSDN examples not working
From: rimoflove (rimoflove_at_hotmail.com)
Date: 02/25/04
- Next message: anaonymous: "Re: SMIME reader/viewer"
- Previous message: rimoflove: "Re: SMIME reader/viewer"
- In reply to: none: "MSDN examples not working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 25 Feb 2004 20:38:59 +0800
i used it to verify a signature,but i works right
"none" <anonymous@discussions.microsoft.com> дÈëÓʼþ
news:474C3B17-977C-4BBD-B4FE-048DF2648118@microsoft.com...
> Hi,
> The example for countersigning using CAPI in the MSDN website does not
seems to work!!It fails at the
> if(CryptVerifyMessageSignature(
> &VerifyParams, // Verify parameters.
> 0, // Signer index.
> pbEncodedBlob, // Pointer to signed BLOB.
> cbEncodedBlob, // Size of signed BLOB.
> pbDecodedMessageBlob, // Buffer for decoded message.
> &cbDecodedMessageBlob, // Size of buffer.
> NULL)) // Pointer to signer certificate.
> {
> printf(" The Signature verified message is -> \n");
> printf("%s \n\n",pbDecodedMessageBlob);
> }
> else
> {
> MyHandleError("Verification message failed.");
> }
>
> Does anyone know the reason?? I am using this example to countersign my
data. PLease help
- Next message: anaonymous: "Re: SMIME reader/viewer"
- Previous message: rimoflove: "Re: SMIME reader/viewer"
- In reply to: none: "MSDN examples not working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]