Re: computing hash from a pkcs7 signature
From: Param (Param_at_discussions.microsoft.com)
Date: 06/30/05
- Next message: Michel Gallant: "Re: computing hash from a pkcs7 signature"
- Previous message: Param: "Re: computing hash from a pkcs7 signature"
- In reply to: Michel Gallant: "Re: computing hash from a pkcs7 signature"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 30 Jun 2005 03:58:05 -0700
FYI
if(!CryptMsgGetParam(
hMsg, // Handle to the message
CMSG_TYPE_PARAM, // Parameter type
0, // Index
&dwMsgType, // Address for returned information
&cbData)) // Size of the returned information
{
}
in the above i am getting dwMsgType as CMSG_SIGNED for the same message.
thanx
"Michel Gallant" wrote:
> CMSG_HASH_DATA_PARAM.
> Don't forget that this hash value will include both the content signed, as well
> as any authenticated attributes, if present.
> - Mitch Gallant
>
> "Param" <Param@discussions.microsoft.com> wrote in message news:1A6A06B0-0021-440A-8E34-277B8E92A604@microsoft.com...
> > Hi,
> > How to get the hash from a pkcs7 signature.
> > Is there any CryptoAPI for this.
> > What about the CryptMsgGetParam()?
> > If this is the correct API , then what I have to pass dwParamType?
> > Thanx in advance
>
>
>
- Next message: Michel Gallant: "Re: computing hash from a pkcs7 signature"
- Previous message: Param: "Re: computing hash from a pkcs7 signature"
- In reply to: Michel Gallant: "Re: computing hash from a pkcs7 signature"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]