Retrieve the ASN.1 object contained within a safeBag.

Synopsis

Declared in <openssl/pkcs12.h>

ASN1_TYPE const*
PKCS12_SAFEBAG_get0_bag_obj(PKCS12_SAFEBAG const* bag);

Return Value

Pointer to the bag object, or NULL on error.

Parameters

Name

Description

bag

SafeBag to query.

Created with MrDocs