On Wed, Mar 17, 2010, Chris Bare wrote: > Is there a API to extract the X509 cert(s) from a CMS_ContentInfo object? > > Looking at the implementation of CMS_add0_cert() I see how to reach them, but > that function depends on things defined in cms_lcl.h, so I can't re-implement > it in my code. >
You can use CMS_get1_certs(cms) to get back a STACK_OF(X509). 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