CMS_RecipientInfo_decrypt

Decrypt one CMS RecipientInfo after associating the recipient key with it.

Synopsis

Declared in <openssl/cms.h>

int
CMS_RecipientInfo_decrypt(
    CMS_ContentInfo* cms,
    CMS_RecipientInfo* ri);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
cmsEnveloped ContentInfo that owns ri.
riRecipientInfo whose encrypted key is unwrapped into the content-encryption key.