verify

abstract suspend fun verify(key: DidKey, message: ByteArray, signature: ByteArray): Boolean

Whether signature is key's signature over message in this scheme. Never throws on bad input: a malformed key or signature is false.

Throws

when this scheme cannot run on this platform at all, which is not a verdict on the signature.