Allocate nested content of type nid and attach it to a PKCS#7 structure.
Synopsis
Declared in <openssl/pkcs7.h>
int
PKCS7_content_new(
PKCS7* p7,
int nid);
Return Value
1 on success, or 0 on failure.
Parameters
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). |
Created with MrDocs