Re: read signed blob from Win crypto API

2003-07-27 Thread Meiyuan Zhao
On Thursday 24 July 2003 08:18 pm, Dr. Stephen Henson 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 enco

Re: read signed blob from Win crypto API

2003-07-25 Thread Stefan Berthold
Once upon a time, I heard Dr. Stephen Henson say: > Its PKCS#7 signedData. You can use the smime utility with -inform DER > or programatically d2i_PKCS7(). Thanks, it works well this way... But what is meant by the MD5 sum for this key? I wasn't abel to reproduce it neither with openssl nor with

Re: read signed blob from Win crypto API

2003-07-24 Thread Dr. Stephen Henson
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

read signed blob from Win crypto API

2003-07-24 Thread Meiyuan Zhao
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 i