getPublicKeySecp256k1

open fun getPublicKeySecp256k1(compressed: Boolean): PublicKey

Returns the Secp256k1 public key associated with the given private key

Return

Non-null pointer to the corresponding public key

Parameters

pk

Non-null pointer to the private key

compressed

if the given private key is compressed or not