Gcr.Certificate.prototype.get_basic_constraints

function get_basic_constraints(): [ok: Boolean, is_ca: Boolean, path_len: Number(gint)] {
    // Gjs wrapper for gcr_certificate_get_basic_constraints()
}
  

Get the basic constraints for the certificate if present. If false is returned then no basic constraints are present and the is_ca and path_len arguments are not changed.

ok

whether basic constraints are present or not

is_ca

location to place a true if is an authority

path_len

location to place the max path length