> > There seems to be a problem with whatever has been used to save the data. > It > is prepending the byte 0, 1 to the start of the structure. If you skip > these > OpenSSL has no problems parsing the PKCS#7 data. >
Worked a treat. I downloaded an older version of the PKZIP application note, and everything became clear. The mysterious two bytes at the beginning are the version number (I assume of the version of M$ CryptoAPI used to create the store). I very vaguely remember something about it now, but I am using a newer version of PKZIPs Appnote, which for some reason omits this info. Kicking myself now. Thank you for all your help. Regards, Chris
smime.p7s
Description: S/MIME cryptographic signature