verify

open suspend override fun verify(data: ByteArray, signature: ByteArray): Boolean(source)

Verifies that signature is a valid signature over data produced by the key identified by keyId.

P1363-encoded ECDSA signatures are converted back to DER before being passed to the Android Keystore Signature API.