isValid

open fun isValid(data: Array<Byte>): Boolean

Determines if the given public key is valid or not.

Return

true if the public key is valid, false otherwise.

Parameters

data

*non-null* byte array.