Get the type of the object contained within a safeBag.
Declared in <openssl/pkcs12.h>
<openssl/pkcs12.h>
int PKCS12_SAFEBAG_get_bag_nid(PKCS12_SAFEBAG const* bag);
NID of the contained object, or -1 if none.