tuweni / org.apache.tuweni.crypto.sodium / Signature / PublicKey / verify

verify

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

Verifies the signature of a message.

Parameters

message - Bytes!: the message itself

signature - Bytes!: the signature of the message

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

fun verify(message: Allocated!, signature: Allocated!): Boolean (source)

Verifies the signature of a message.

Parameters

message - Allocated!: the message itself

signature - Allocated!: the signature of the message

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