Set the embedded eContentType OID of a CMS ContentInfo (copied).

Synopsis

Declared in <openssl/cms.h>

int
CMS_set1_eContentType(
    CMS_ContentInfo* cms,
    ASN1_OBJECT const* oid);

Return Value

1 on success, or 0 on error.

Parameters

Name

Description

cms

ContentInfo created with CMS_PARTIAL, before it is finalized.

oid

Embedded content‐type object identifier to copy into cms.

Created with MrDocs