Gck.Session.prototype.verify_full

function verify_full(key: Gck.Object, mechanism: Gck.Mechanism, input: ByteArray, signature: ByteArray, cancellable: Gio.Cancellable): Boolean {
    // Gjs wrapper for gck_session_verify_full()
}
  

Verify data in a mechanism specific manner. This call may block for an indefinite period.

key

The key to verify with.

mechanism

The mechanism type and parameters to use for signing.

input

data to verify

signature

the signature

cancellable

A GCancellable which can be used to cancel the operation.

Returns

TRUE if the data verified correctly, otherwise a failure or error occurred.