Re: [openssl-users] SMIME_read_CMS and binary signature

2018-02-14 Thread Viktor Dukhovni
> On Feb 15, 2018, at 12:29 AM, e...@coderhacks.com wrote: > > If I try SMIME_read_CMS it is working well if the signature (the 2nd > MIME-part with smime-type=singed-data) > has a Content-Transfer-Encodeing of "base64" (as it is in my example) > > But It is not working if the CTE is "binary"

[openssl-users] SMIME_read_CMS and binary signature

2018-02-14 Thread e...@coderhacks.com
Hello! I need a little hint for parsing SMIME into a CMS_ContentInfo. Here is an shortend example of my SMIME to make clear the structure of my content. Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="=_Part_abcde" --