[#PKCS12_SAFEBAG_get0_type]
= PKCS12&lowbar;SAFEBAG&lowbar;get0&lowbar;type
:mrdocs:

Return the safeBag type OID without copying it&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:ASN1_OBJECT.adoc[ASN1&lowbar;OBJECT] const*
PKCS12&lowbar;SAFEBAG&lowbar;get0&lowbar;type(xref:PKCS12_SAFEBAG.adoc[PKCS12&lowbar;SAFEBAG] const* bag);
----

== Return Value

Internal safeBag type OID, or NULL if `bag` is NULL&semi; do not free&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bag*
| SafeBag to query&period;
|===


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