verify

suspend fun verify(message: ByteArray, signature: ByteArray): Boolean

Whether signature is this key's ECDSA P-256 signature over SHA-256 of message, as the 64-byte raw r ‖ s form.

Never throws on bad input: a signature of the wrong length, a key whose point is not on the curve, and a signature the provider cannot read are all false. A provider that cannot run on this platform at all still throws IllegalStateException, since that is not a verdict on the signature.