tuweni / org.apache.tuweni.scuttlebutt / Identity / verify

verify

abstract fun verify(signature: Bytes, message: Bytes): Boolean (source)

Verifies a signature matches a message according to the public key of the identity.

Parameters

signature - the signature to test

message - the data that was signed by the signature

Return
true if the signature matches the message according to the public key of the identity