importPrivateKeyWithEncryptionAndDerivation

open fun importPrivateKeyWithEncryptionAndDerivation(privateKey: Array<Byte>, name: String, password: Array<Byte>, coin: CoinType, encryption: StoredKeyEncryption, derivation: Derivation): StoredKey

Imports a private key.

Parameters

privateKey

Non-null Block of data private key

name

The name of the stored key to import as a non-null string

password

Non-null block of data, password of the stored key

coin

the coin type

encryption

cipher encryption mode

derivation

derivation of the given coin type