verify
Description:
public bool verify (Object key, ulong mech_type, uint8[] input, uint8[] signature, Cancellable? cancellable = null) throws Error
Verify data in a mechanism specific manner.
This call may block for an indefinite period.
Parameters:
| this |
The session. |
| 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 |
| n_input |
length of the data to verify |
| n_signature |
length of the signature |
Returns:
|
true if the data verified correctly, otherwise a failure or error occurred. |