verifySignature method

  1. @override
bool verifySignature(
  1. Uint8List message,
  2. Signature signature
)
override

Verify the message against the signature.

Implementation

@override
bool verifySignature(Uint8List message, Signature signature) {
  var isNormalized =
      (signature as ECSignature).isNormalized(signer._pbkey!.parameters!);
  var isVerified = signer.verifySignature(message, signature);

  // Constant time.
  return (isNormalized | !enforceNormalized) & isVerified;
}