[#PKCS12_pack_p7data]
= PKCS12&lowbar;pack&lowbar;p7data
:mrdocs:

Pack a stack of safeBags into a PKCS&num;7 data ContentInfo&period;

== Synopsis

Declared in `&lt;openssl&sol;pkcs12&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:PKCS7.adoc[PKCS7]*
PKCS12&lowbar;pack&lowbar;p7data(xref:stack_st_PKCS12_SAFEBAG.adoc[stack&lowbar;st&lowbar;PKCS12&lowbar;SAFEBAG]* sk);
----

== Return Value

PKCS&num;7 data object, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *sk*
| Stack of safeBags to encode&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
