[#CMS_get0_type]
= CMS&lowbar;get0&lowbar;type
:mrdocs:

Return the ASN&period;1 content&hyphen;type OID of a CMS ContentInfo&period;

== Synopsis

Declared in `&lt;openssl&sol;cms&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:ASN1_OBJECT.adoc[ASN1&lowbar;OBJECT] const*
CMS&lowbar;get0&lowbar;type(xref:CMS_ContentInfo.adoc[CMS&lowbar;ContentInfo] const* cms);
----

== Return Value

Internal ASN1&lowbar;OBJECT for the content type (for example NID&lowbar;pkcs7&lowbar;signed)&semi; do not free&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cms*
| ContentInfo to query&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
