verify

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

Verifies that signature is a valid signature over data.

Return

true if the signature is valid, false otherwise

Parameters

data

the data that was originally signed

signature

the raw signature bytes to verify