Return the attribute stack attached to a safeBag without copying it.

Synopsis

Declared in <openssl/pkcs12.h>

stack_st_X509_ATTRIBUTE const*
PKCS12_SAFEBAG_get0_attrs(PKCS12_SAFEBAG const* bag);

Return Value

Internal stack of X509_ATTRIBUTE, or NULL if bag is NULL; do not free.

Parameters

Name

Description

bag

SafeBag to query.

Created with MrDocs