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