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

Name

Description

libctx

Library context used when fetching algorithms for this object, or NULL for the default.

propq

Property query string for provider algorithm selection, or NULL.

Created with MrDocs