Gck.Attribute.prototype.is_invalid

function is_invalid(): Boolean {
    // Gjs wrapper for gck_attribute_is_invalid()
}
  

Check if the PKCS\#11 attribute represents 'invalid' or 'not found' according to the PKCS\#11 spec. That is, having length of (CK_ULONG)-1.

Returns

Whether the attribute represents invalid or not.