Gck.Session.prototype.verify
function verify(key: Gck.Object, mech_type: Number(gulong), input: ByteArray, signature: ByteArray, cancellable: Gio.Cancellable): Boolean { // Gjs wrapper for gck_session_verify() }
Verify data in a mechanism specific manner. This call may block for an indefinite period.
- key
The key to verify with.
- mech_type
The mechanism type to use for verifying.
- input
data to verify
- signature
the signature
- cancellable
Optional cancellation object, or null
- Returns
TRUE if the data verified correctly, otherwise a failure or error occurred.