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 - Bytes!: the signature to test

message - Bytes!: the data that was signed by the signature

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