Hello,

I need to incorporate, in a program in C, who send mail of my users, a
S/MIME signature.

I've already sign, for test, a text message, and an html message, with
command openssl smime -sign.. and it's ok. (without headers of course, i had
them later), and I see if message have text and html part, signature is bad,
so :

For beginning, I've a question about this.
If I've a mail, who have :
-       The headers (I remove them)
-       Content-type: text/plain
-       Content-type: html
-       Content-type: attachment (jpg for example)

Is it true, for a good signature in mail, i must sign in 3 parts:  text
part, then html part, then attachment, and not all mail (without headers of
course)? True or false?
So, if it's true, in the s/mime attachment, if mail have 3 parts (text,
html, 1 attachment), s/mime attachment have 3 signatures + public key?


regards

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to