CMS_get0_type

Return the ASN.1 content-type OID of a CMS ContentInfo.

Synopsis

Declared in <openssl/cms.h>

ASN1_OBJECT const*
CMS_get0_type(CMS_ContentInfo const* cms);

Return Value

Internal ASN1_OBJECT for the content type (for example NID_pkcs7_signed); do not free.

Parameters

NameDescription
cmsContentInfo to query.