[#PKCS12_SAFEBAG_get0_safes]
= PKCS12&lowbar;SAFEBAG&lowbar;get0&lowbar;safes
:mrdocs:

Retrieve the nested safeBags from a safeContentsBag&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:stack_st_PKCS12_SAFEBAG.adoc[stack&lowbar;st&lowbar;PKCS12&lowbar;SAFEBAG] const*
PKCS12&lowbar;SAFEBAG&lowbar;get0&lowbar;safes(xref:PKCS12_SAFEBAG.adoc[PKCS12&lowbar;SAFEBAG] const* bag);
----

== Return Value

Stack of nested safeBags, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bag*
| SafeBag of type safeContentsBag&period;
|===


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