[#PKCS7_encrypt_ex] = PKCS7_encrypt_ex :mrdocs: Create a PKCS#7 envelopedData encrypting `in` for each recipient in `certs.` == Synopsis Declared in `<openssl/pkcs7.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:PKCS7.adoc[PKCS7]* PKCS7_encrypt_ex( xref:stack_st_X509.adoc[stack_st_X509]* certs, xref:BIO.adoc[BIO]* in, xref:EVP_CIPHER-07.adoc[EVP_CIPHER] const* cipher, int flags, xref:OSSL_LIB_CTX.adoc[OSSL_LIB_CTX]* libctx, char const* propq); ---- == Return Value New PKCS7 envelopedData object, or NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *certs* | Recipient certificates whose public keys encrypt the content‐encryption key. | *in* | BIO supplying the plaintext content. | *cipher* | Content‐encryption cipher (for example AES‐256‐CBC). | *flags* | PKCS7_* encryption flags. | *libctx* | Library context for algorithm fetches, or NULL for the default. | *propq* | Property query for algorithm fetches, or NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#