Add a certificate to a CMS ContentInfo, taking a reference on cert.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| cms | ContentInfo of type signed data or (authenticated) enveloped data. |
| cert | Certificate to add unless already present; caller retains ownership. |