Add a recipient info structure to a PKCS#7 enveloped-data object.
Declared in <openssl/pkcs7.h>
int
PKCS7_add_recipient_info(
PKCS7* p7,
PKCS7_RECIP_INFO* ri);
1 on success, or 0 on error.
| Name | Description |
|---|---|
| p7 | PKCS#7 object of type enveloped or signed-and-enveloped data. |
| ri | Recipient info to append; on success ownership transfers to p7. |