Re: Verifying detached signature using streaming

From: Vishal Agarwal[MSFT] (vishala_at_online.microsoft.com)
Date: 01/30/04


Date: Fri, 30 Jan 2004 10:57:21 -0800

After using CryptMsgOpenToDecode with CMSG_DETACHED_FLAG, you should use
CryptMsgUpdate to provide the headers and the content. (look at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/cryptmsgupdate.asp)
and then after final call to CryptMsgUpdate, you can call CryptMsgControl to
verify the signature.

Thanks,
Vishal[MSFT]

-- 
This posting is provided "AS IS" with no warranties, and confers no rights
"Miguel A Rodriguez" <mars@seguridata.com> wrote in message
news:740FC1DE-4BF2-4FD0-9A47-A4E658139C2D@microsoft.com...
> Hi! How can I verify a detached signature using streaming to provide the
> content to be hashed? The SDK doc says that CryptMsgOpenToDecode can be
> called with CMSG_DETACHED_FLAG, how one should provide the content?
>
> Thanks in advance,
>
> Miguel A Rodriguez
> SeguriDATA
> Mexico
>