[#PKCS12_SAFEBAG_get_bag_nid] = PKCS12_SAFEBAG_get_bag_nid :mrdocs: Get the type of the object contained within a safeBag. == Synopsis Declared in `<openssl/pkcs12.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int PKCS12_SAFEBAG_get_bag_nid(xref:PKCS12_SAFEBAG.adoc[PKCS12_SAFEBAG] const* bag); ---- == Return Value NID of the contained object, or ‐1 if none. == Parameters [cols="1,4"] |=== | Name| Description | *bag* | SafeBag to query. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#