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]

Reply via email to