On Thu, Jul 24, 2003, Meiyuan Zhao wrote:

> I wrote a VC++ application that calls CryptSignMessage() to sign a 
> message. The result is a signed encoded blob. MSDN library says, 
> "Currently only PKCS_7_ASN_ENCODING is supported". It looks like this 
> encoded blob is encoded in PKCS#7 or S/MIME. Does anybody know, using 
> OpenSSL, how to parse it into a PKCS7 object?
> 

Its PKCS#7 signedData. You can use the smime utility with -inform DER or
programatically d2i_PKCS7().

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]

Reply via email to