getPrivateKey

suspend fun getPrivateKey(alias: String, keyUnlockData: KeyUnlockData?): EcPrivateKey

Gets the underlying private key.

Return

a PrivateKey.

Parameters

alias

the alias for the key.

keyUnlockData

unlock data, or null.

Throws