verify

open fun verify(signature: Array<Byte>, message: Array<Byte>): Boolean

Verify the validity of a signature and a message using the given public key

Return

true if the signature and the message belongs to the given public key, false otherwise

Parameters

pk

Non-null pointer to a public key

signature

Non-null pointer to a block of data corresponding to the signature

message

Non-null pointer to a block of data corresponding to the message