CMS_get0_content

Return a pointer to the embedded content octet string of a CMS ContentInfo.

Synopsis

Declared in <openssl/cms.h>

ASN1_OCTET_STRING**
CMS_get0_content(CMS_ContentInfo* cms);

Return Value

Address of the internal ASN1_OCTET_STRING pointer (may point to NULL if detached), or NULL on error.

Parameters

NameDescription
cmsContentInfo whose eContent is accessed.