Create an empty CMS EnvelopedData ContentInfo using a library context.
Declared in <openssl/cms.h>
CMS_ContentInfo*
CMS_EnvelopedData_create_ex(
EVP_CIPHER const* cipher,
OSSL_LIB_CTX* libctx,
char const* propq);
New EnvelopedData ContentInfo, or NULL on error.
| Name | Description |
|---|---|
| cipher | Content-encryption cipher whose ASN.1 parameters will be encoded. |
| libctx | Library context for algorithm fetches, or NULL for the default. |
| propq | Property query for provider selection, or NULL. |