What I want to do is to take my binary file, encapsulate it in a PKCS #7 data message (without signing) and then, take this last one and, along with the cert and private key, create a PKCS #7 signed data message. The requirement for the input file that I have to sign is : it has to be a DER-encoded PKCS #7 ContentInfo.
-----Original Message----- From: Dr. Stephen Henson [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 3:58 PM To: [EMAIL PROTECTED] Subject: Re: Signing a binary file On Tue, Aug 05, 2003, Danny Joseph wrote: > Thank you for the information but my signed content need to already be in > pkcs#7 format before beeing signed, not in binary. > That is why I am trying to "encapsulate" it in pkcs#7. > What do you mean? Do you mean that the PKCS#7 signedData must include the content? If so the -nodetach option will do that. Steve. -- Dr Stephen N. Henson. Core developer of the OpenSSL project: http://www.openssl.org/ Freelance consultant see: http://www.drh-consultancy.demon.co.uk/ Email: [EMAIL PROTECTED], PGP key: via homepage. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]