[#PKCS12_unpack_p7data]
= PKCS12&lowbar;unpack&lowbar;p7data
:mrdocs:

Unpack safeBags from a PKCS&num;7 data ContentInfo&period;

== Synopsis

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

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

== Return Value

Stack of safeBags, or NULL if `p7` is not data type or on decode error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p7*
| PKCS&num;7 data content info wrapping a PKCS12&lowbar;SAFEBAGS sequence&period;
|===


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