Gck.Object.prototype.equal

function equal(object2: Gck.Object): Boolean {
    // Gjs wrapper for gck_object_equal()
}
  

Checks equality of two objects. Two GckObject objects can point to the same underlying PKCS\#11 object.

object2

a pointer to the second Gck.Object

Returns

TRUE if object1 and object2 are equal. FALSE if either is not a GckObject.