Get the safeBag type as an NID.

Synopsis

Declared in <openssl/pkcs12.h>

int
PKCS12_SAFEBAG_get_nid(PKCS12_SAFEBAG const* bag);

Return Value

NID of the safeBag type (e.g. NID_certBag, NID_keyBag), or ‐1 if none.

Parameters

Name

Description

bag

SafeBag to query.

Created with MrDocs