verifyAsDER

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

Verify the validity as DER 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