privateKey

open fun privateKey(coin: CoinType, password: Array<Byte>): PrivateKey

Returns the private key for a specific coin. Returned object needs to be deleted.

Return

Null pointer on failure, pointer to the private key otherwise

Parameters

key

Non-null pointer to a stored key

coin

Account coin type to be queried