[#PKCS7_RECIP_INFO_set] = PKCS7_RECIP_INFO_set :mrdocs: Populate a PKCS#7 recipient info from a recipient certificate. == Synopsis Declared in `<openssl/pkcs7.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int PKCS7_RECIP_INFO_set( xref:PKCS7_RECIP_INFO.adoc[PKCS7_RECIP_INFO]* p7i, xref:X509.adoc[X509]* x509); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *p7i* | RecipientInfo structure to fill (issuer/serial and encrypted‐key algorithm). | *x509* | Recipient X.509 certificate whose public key encrypts the content‐encryption key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#