[#CMS_get1_certs] = CMS_get1_certs :mrdocs: Return a new stack of all certificates carried in a CMS ContentInfo. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:stack_st_X509.adoc[stack_st_X509]* CMS_get1_certs(xref:CMS_ContentInfo.adoc[CMS_ContentInfo]* cms); ---- == Return Value New STACK_OF(X509) the caller must free (certificates are up‐reffed), or NULL if none or on error. == Parameters [cols="1,4"] |=== | Name| Description | *cms* | ContentInfo of type signed data or (authenticated) enveloped data. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#