Darío Mariani wrote:
> 
> Hello:
>   I'm trying to sign a file with "openssl smime" but I would like that
> the output to be only the signature, or as the smime man page in the
> "-content filename" option says: [a] PKCS#7 structure is using the
> detached signature form where the content is not included.
>   How do I do it?

Use -outform PEM or -outform DER as appropriate: you need OpenSSL 0.9.6
for that. Also be aware of possible text mode translations so you may
want the -binary flag as well.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to