Creating PKCS#7

From: Aftab Alam (aftab.alam_at_ascertia.com)
Date: 01/21/04


Date: Wed, 21 Jan 2004 12:30:43 +0500

Hello All
I am new to CryptoAPI, I want to create a PKCS#7 attached data file that can
be verified from IAIK(Java) toolkit.
I have used the sample of MSDN that uses CryptSignMessage function
then I copied the pbSignedMessageBlob to a file so that it can be verified
from the other application but as I used a berviewer application it tells me
that it doesnt contain the signing certificate I saw it in MSDN and it tells
that if the
CRYPT_SIGN_MESSAGE_PARA's memeber cMsgCert = 1 it should contain the
Signing certificate, may be there is something I am doing wrong or
understanding wrong so please guide me to the thing that I simply want to
make a PKCS#7 attached with signing certificate and certificate chain in it
as well.

best Regards
Muhammad Aftab Alam



Relevant Pages

  • Re: Creating PKCS#7
    ... "Aftab Alam" wrote in message ... > that it doesnt contain the signing certificate I saw it in MSDN and it ...
    (microsoft.public.platformsdk.security)
  • Re: Signfile error 80004005
    ... >I have downloaded the Signfile sample from MSDN. ... >Signing certificate from an enterprise root CA, so trusted and I have a ...
    (microsoft.public.scripting.vbscript)
  • Signfile error 80004005
    ... I have downloaded the Signfile sample from MSDN. ... Signing certificate from an enterprise root CA, so trusted and I have a ... private key. ...
    (microsoft.public.scripting.vbscript)

Quantcast