PKCS7_set_content

Set the inner content of a SignedData / DigestedData PKCS#7 to p7_data.

Synopsis

Declared in <openssl/pkcs7.h>

int
PKCS7_set_content(
    PKCS7* p7,
    PKCS7* p7_data);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
p7Outer PKCS#7 whose content type supports nested content.
p7_dataInner PKCS#7 content object; ownership is transferred on success.