verify method
Verify digital signature or MAC
Implementation
bool verify(List<int> data, List<int> signature, {String? algorithm}) {
_assertCanDo('verify');
var verifier = _keyPair.publicKey!.createVerifier(_getAlgorithm(algorithm));
return verifier.verify(
Uint8List.fromList(data), Signature(Uint8List.fromList(signature)));
}