[#PKCS7_set_type] = PKCS7_set_type :mrdocs: Set the PKCS#7 content type and allocate the corresponding content structure. == Synopsis Declared in `<openssl/pkcs7.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int PKCS7_set_type( xref:PKCS7.adoc[PKCS7]* p7, int type); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *p7* | PKCS#7 object to initialise. | *type* | Content‐type NID such as NID_pkcs7_signed or NID_pkcs7_enveloped. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#