recover

open fun recover(signature: Array<Byte>, message: Array<Byte>): PublicKey

Try to get a public key from a given signature and a message

Return

Null pointer if the public key can't be recover from the given signature and message, pointer to the public key otherwise

Parameters

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