[#PKCS7_content_new] = PKCS7_content_new :mrdocs: Allocate nested content of type `nid` and attach it to a PKCS#7 structure. == Synopsis Declared in `<openssl/pkcs7.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int PKCS7_content_new( xref:PKCS7.adoc[PKCS7]* p7, int nid); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *p7* | PKCS#7 ContentInfo that receives the new nested content. | *nid* | NID of the content type to create (for example NID_pkcs7_data). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#