Gcr.Certificate.prototype.get_subject_raw

function get_subject_raw(): [return_value: ByteArray, n_data: Number(gsize)] {
    // Gjs wrapper for gcr_certificate_get_subject_raw()
}
  

Get the raw DER data for the subject DN of the certificate.

The data should be freed by using g_free() when no longer required.

return_value

allocated memory containing the raw subject

n_data

The length of the returned data.