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

Name

Description

cms

Enveloped ContentInfo that owns ri.

ri

RecipientInfo whose encrypted key is unwrapped into the content‐encryption key.

Created with MrDocs