Get the safeBag type as an NID.
Declared in <openssl/pkcs12.h>
<openssl/pkcs12.h>
int PKCS12_SAFEBAG_get_nid(PKCS12_SAFEBAG const* bag);
NID of the safeBag type (e.g. NID_certBag, NID_keyBag), or -1 if none.