Return a new stack of all certificates carried in a CMS ContentInfo.
New STACK_OF(X509) the caller must free (certificates are up-reffed), or NULL if none or on error.
| Name | Description |
|---|---|
| cms | ContentInfo of type signed data or (authenticated) enveloped data. |