Populate a PKCS#7 recipient info from a recipient certificate.
Declared in <openssl/pkcs7.h>
int
PKCS7_RECIP_INFO_set(
PKCS7_RECIP_INFO* p7i,
X509* x509);
1 on success, or 0 on failure.
| 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. |