Gck.Attribute.prototype.get_string

function get_string(): String {
    // Gjs wrapper for gck_attribute_get_string()
}
  

Get the string value of a PKCS\#11 attribute. No conversion is performed. It is an error to pass an attribute to this function unless you're know it's supposed to contain a value of the right type.

Returns

a null terminated string, to be freed with g_free(), or null if the value was invalid