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

Name

Description

p7

Outer PKCS#7 whose content type supports nested content.

p7_data

Inner PKCS#7 content object; ownership is transferred on success.

Created with MrDocs