Decrypt one CMS RecipientInfo after associating the recipient key with it.
Declared in <openssl/cms.h>
int
CMS_RecipientInfo_decrypt(
CMS_ContentInfo* cms,
CMS_RecipientInfo* ri);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| cms | Enveloped ContentInfo that owns ri. |
| ri | RecipientInfo whose encrypted key is unwrapped into the content-encryption key. |