CMS_ContentInfo_new_ex

Allocate a CMS ContentInfo associated with a library context and property query.

Synopsis

Declared in <openssl/cms.h>

CMS_ContentInfo*
CMS_ContentInfo_new_ex(
    OSSL_LIB_CTX* libctx,
    char const* propq);

Return Value

New CMS_ContentInfo, or NULL on allocation failure.

Parameters

NameDescription
libctxLibrary context used when fetching algorithms for this object, or NULL for the default.
propqProperty query string for provider algorithm selection, or NULL.