Retrieve the PKCS#9 friendlyName from a safeBag as a UTF-8 string.
Declared in <openssl/pkcs12.h>
<openssl/pkcs12.h>
char* PKCS12_get_friendlyname(PKCS12_SAFEBAG* bag);
Allocated UTF-8 string, or NULL if absent or on error. Caller must free.