PKCS12_get_friendlyname3ssl
Retrieve the friendlyname attribute from a pkcs#12 safebag
Usage
#include <openssl/pkcs12.h>char *PKCS12_get_friendlyname(PKCS12_SAFEBAG *bag);
Overview
PKCS12_get_friendlyname() retrieves a UTF-8 string representation of the PKCS#9 friendlyName attribute for a PKCS#12 safeBag item.
bag is the PKCS12_SAFEBAG to retrieve the attribute from.
Return values
A UTF-8 string, or NULL if the attribute was either not present or an error occurred.
The returned string is allocated by OpenSSL and should be freed by the user.
Releases
3 releases since Debian 12 (Bookworm); the text changed 2 times.