On Wed, Nov 12, 2014, Sheldon Hearn wrote:

> Hmmm, looking at your suggestion more closely, there's more to it than
> that. When the client holds nothing but the symmetric key used to
> produce the ciphertext, I think it needs an Encrypted-Data, not an
> Enveloped-Data. The CMS_encrypt(3) function produces an
> Enveloped-Data.
> 

Yes, CMS_EncryptedData_encrypt() would be the function to use for this case.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to