Set the embedded eContentType OID of a CMS ContentInfo (copied).
Declared in <openssl/cms.h>
int
CMS_set1_eContentType(
CMS_ContentInfo* cms,
ASN1_OBJECT const* oid);
1 on success, or 0 on error.
| Name | Description |
|---|---|
| cms | ContentInfo created with CMS_PARTIAL, before it is finalized. |
| oid | Embedded content-type object identifier to copy into cms. |