Gcr.Certificate.prototype.get_subject_cn
function get_subject_cn(): String { // Gjs wrapper for gcr_certificate_get_subject_cn() }
Get the common name of the subject of this certificate.
The string returned should be freed by the caller when no longer required.
- Returns
The allocated subject CN, or NULL if no subject CN present.