Thanks for the information. Does anybody know an open source tool
that handles this type of encrypted data? I would like to use it for
password protected data.

Dr. Stephen Henson wrote:
On Sun, Nov 16, 2003, Felix Daners wrote:


Hello everybody

The pkcs7 standard knows the The encrypted-data content type
It consists of encrypted content of any type. Unlike the enveloped-data content type, the encrypted-data content type has neither recipients nor
encrypted content-encryption keys. Keys are assumed to be managed by other means.


How can I decrypt a file that has this content?

The Example comes from the draft-ietf-smime-examples-12.txt and has the following structure:

I have tried openssl smime -decrypt



The OpenSSL S/MIME code doesn't actually handle encryptedData. What it refers
to as "encrypt" is actually envelopedData which fits in with what most S/MIME
clients call encrypted messages.

The low level PKCS#7 code doesn't totally handle this type either. It *is*
used in the PKCS#12 code though but only in conjunction with various forms of
password based encryption.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]
[This E-mail scanned for viruses by Declude Antivirus]
[http://www.swissworld.com]




--


+-------------------------------------
| Felix Daners Engineering
| F.Daners
| Platz 3
| CH-8200 Schaffhausen
| Tel: +41 52 624 92 32
| Fax: +41 52 624 92 31
| mailto:[EMAIL PROTECTED]
| http://f.daners.swissworld.com
+-------------------------------------


[This E-mail scanned for viruses by Declude Antivirus] [http://www.swissworld.com]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to