Is there any way to tell what type of data is contained inside a PKCS7 signedData smime.p7m file?
I have several emails all with an smime.p7m attachment, but the data inside the smime.p7m is different: 1. plaintext 2. a MIME email 3. binary data like a word document When getting the data out of a PKCS7 structure, all I have is an ASN1_OCTET_STRING; there is no content_type like you find in the PKCS7_ENC_CONTENT struct. I can detect #2 easily enough if the data starts with "Content-Type: ", but I can't easily and quickly distinguish between #1 and #3. Do I have to manually identify the data to determine what it is? The reason I need to know is for display purposes, so I can determine whether it is appropriate to show the signed data right inside the email or only as a separate file. Thanks, Phillip ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org