getPubkey

abstract fun getPubkey(pktype: PubkeyType): ByteArray

the pubkey is accessible even if the secret is locked