Gcr.Certificate.prototype.get_issuer_part
function get_issuer_part(part: String): String { // Gjs wrapper for gcr_certificate_get_issuer_part() }
Get a part of the DN of the issuer of this certificate.
Examples of a part might be the 'OU' (organizational unit) or the 'CN' (common name). Only the value of that part of the DN is returned.
The string returned should be freed by the caller when no longer required.
- part
a DN type string or OID.
- Returns
the allocated part of the issuer DN, or null if no such part is present