Steve,

Dr. Stephen Henson wrote:
> On Wed, Mar 24, 2010, Michael Strder wrote:
>> Is there an API function in OpenSSL which extracts only the DER blob of
>> RecipientInfos from a CMS message (needed for encrypted S/MIME message). Or
>> has that to be done low-level with ASN.1 parser?
> 
> No you can't extract the received encoding. You can extract the structure
> using CMS_get0_ReceipientInfos() but you'd have to declare your own encoding
> function based on the RecipientInfo ASN1_ITEM.

How much would it cost if you implement that? I'm not the one to decide on
that but I want to propose that to my customer.

Ciao, Michael.

-- 
Michael Ströder                 Klauprechtstr. 11
Dipl.-Inform.                   D-76137 Karlsruhe, Germany
Tel.: +49 721 8304316
E-Mail: mich...@stroeder.com    http://www.stroeder.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to