Retrieve the PKCS#9 friendlyName from a safeBag as a UTF‐8 string.

Synopsis

Declared in <openssl/pkcs12.h>

char*
PKCS12_get_friendlyname(PKCS12_SAFEBAG* bag);

Return Value

Allocated UTF‐8 string, or NULL if absent or on error. Caller must free.

Parameters

Name

Description

bag

SafeBag to query.

Created with MrDocs