Add a recipient info structure to a PKCS#7 enveloped‐data object.

Synopsis

Declared in <openssl/pkcs7.h>

int
PKCS7_add_recipient_info(
    PKCS7* p7,
    PKCS7_RECIP_INFO* ri);

Return Value

1 on success, or 0 on error.

Parameters

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.

Created with MrDocs