[#CMS_digest_create_ex] = CMS_digest_create_ex :mrdocs: Create a CMS DigestedData ContentInfo using a library context and property query. == Synopsis Declared in `<openssl/cms.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CMS_ContentInfo.adoc[CMS_ContentInfo]* CMS_digest_create_ex( xref:BIO.adoc[BIO]* in, xref:EVP_MD.adoc[EVP_MD] const* md, unsigned int flags, xref:OSSL_LIB_CTX.adoc[OSSL_LIB_CTX]* libctx, char const* propq); ---- == Return Value New DigestedData ContentInfo, or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *in* | BIO supplying the data to digest. | *md* | Message digest algorithm to apply. | *flags* | Optional CMS flags; CMS_DETACHED and CMS_STREAM are supported. | *libctx* | Library context for algorithm fetches, or NULL for the default. | *propq* | Property query for provider selection, or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#