[#PKCS12_SAFEBAG_set0_attrs]
= PKCS12&lowbar;SAFEBAG&lowbar;set0&lowbar;attrs
:mrdocs:

Assign a stack of X509&lowbar;ATTRIBUTEs to a safeBag&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
PKCS12&lowbar;SAFEBAG&lowbar;set0&lowbar;attrs(
    xref:PKCS12_SAFEBAG.adoc[PKCS12&lowbar;SAFEBAG]* bag,
    stack&lowbar;st&lowbar;X509&lowbar;ATTRIBUTE* attrs);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bag*
| SafeBag to modify&period;
| *attrs*
| Stack of attributes to assign (ownership transfers to `bag)&period;`
|===


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