Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun consistencyCheck(): Boolean

For unlocked secrets, checks that the secret derives the pubkey

Link copied to clipboard
abstract fun getPubkey(pktype: PubkeyType): ByteArray

the pubkey is accessible even if the secret is locked

Link copied to clipboard
abstract fun getSecret(): ByteArray

getting the secret can throw WalletLockedException if the wallet is locked

Link copied to clipboard
abstract fun installDecrypter(decrypt: (ByteArray, Int) -> ByteArray)

Your decrypt function should throw WalletLockedException if the wallet is locked

Link copied to clipboard
abstract fun serialize(): ByteArray

You need to serialize and deserialize even if locked