[#PKCS12_get_attr_gen] = PKCS12_get_attr_gen :mrdocs: Retrieve an attribute by NID from a stack of X509_ATTRIBUTEs. == Synopsis Declared in `<openssl/pkcs12.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:ASN1_TYPE.adoc[ASN1_TYPE]* PKCS12_get_attr_gen( xref:stack_st_X509_ATTRIBUTE.adoc[stack_st_X509_ATTRIBUTE] const* attrs, int attr_nid); ---- == Return Value Attribute value (owned by the containing structure), or NULL if absent or on error. == Parameters [cols="1,4"] |=== | Name| Description | *attrs* | Stack of attributes to search. | *attr_nid* | NID of the attribute to retrieve. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#