[#PKCS12_get_friendlyname] = PKCS12_get_friendlyname :mrdocs: Retrieve the PKCS#9 friendlyName from a safeBag as a UTF‐8 string. == Synopsis Declared in `<openssl/pkcs12.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- char* PKCS12_get_friendlyname(xref:PKCS12_SAFEBAG.adoc[PKCS12_SAFEBAG]* bag); ---- == Return Value Allocated UTF‐8 string, or NULL if absent or on error. Caller must free. == Parameters [cols="1,4"] |=== | Name| Description | *bag* | SafeBag to query. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#