[#CMS_set1_eContentType] = CMS_set1_eContentType :mrdocs: Set the embedded eContentType OID of a CMS ContentInfo (copied). == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int CMS_set1_eContentType( xref:CMS_ContentInfo.adoc[CMS_ContentInfo]* cms, xref:ASN1_OBJECT.adoc[ASN1_OBJECT] const* oid); ---- == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *cms* | ContentInfo created with CMS_PARTIAL, before it is finalized. | *oid* | Embedded content‐type object identifier to copy into `cms.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#