#include <cat/cat.h>
int catcert_issuername(const cat_cert *cert, char **issuer);
The resulting subject name will be a string in RFC2253 format and UTF-8 encoded.
The result is allocated and must be freed by the caller.
catcert_subjectname