ExtKey

expect class ExtKey : AutoCloseable

Class representing Extended keys and operations on it.

actual class ExtKey : AutoCloseable

Class representing Extended keys and operations on it.

actual class ExtKey : AutoCloseable

Class representing Extended keys and operations on it.

Types

Link copied to clipboard
expect object Companion
actual object Companion
actual object Companion

Functions

Link copied to clipboard
expect open override fun close()
actual open override fun close()
actual open override fun close()
Link copied to clipboard
expect fun derive(index: Int): ExtKey

Generates child ExtKey from a current ExtKey using BIP32.

actual fun derive(index: Int): ExtKey

Generates child ExtKey from a current ExtKey using BIP32.

actual external fun derive(index: Int): ExtKey

Generates child ExtKey from a current ExtKey using BIP32.

Link copied to clipboard
expect fun deriveHardened(index: Int): ExtKey

Generates hardened child ExtKey from a current ExtKey using BIP32.

actual fun deriveHardened(index: Int): ExtKey

Generates hardened child ExtKey from a current ExtKey using BIP32.

actual external fun deriveHardened(index: Int): ExtKey

Generates hardened child ExtKey from a current ExtKey using BIP32.

Link copied to clipboard
expect fun getChainCode(): ByteArray

Gets the chain code of Extended Key.

actual fun getChainCode(): ByteArray

Gets the chain code of Extended Key.

actual external fun getChainCode(): ByteArray

Gets the chain code of Extended Key.

Link copied to clipboard

Extracts raw ECC PrivateKey.

Extracts raw ECC PrivateKey.

actual external fun getPrivateEncKey(): ByteArray

Extracts raw ECC PrivateKey.

Link copied to clipboard
expect fun getPrivateKey(): String

Extracts ECC PrivateKey.

actual fun getPrivateKey(): String

Extracts ECC PrivateKey.

actual external fun getPrivateKey(): String

Extracts ECC PrivateKey.

Link copied to clipboard

Converts ExtKey to Base58 string.

Converts ExtKey to Base58 string.

actual external fun getPrivatePartAsBase58(): String

Converts ExtKey to Base58 string.

Link copied to clipboard
expect fun getPublicKey(): String

Extracts ECC PublicKey.

actual fun getPublicKey(): String

Extracts ECC PublicKey.

actual external fun getPublicKey(): String

Extracts ECC PublicKey.

Link copied to clipboard

Extracts ECC PublicKey Address.

Extracts ECC PublicKey Address.

actual external fun getPublicKeyAsBase58Address(): String

Extracts ECC PublicKey Address.

Link copied to clipboard

Converts the public part of ExtKey to Base58 string.

Converts the public part of ExtKey to Base58 string.

actual external fun getPublicPartAsBase58(): String

Converts the public part of ExtKey to Base58 string.

Link copied to clipboard
expect fun isPrivate(): Boolean

Checks if ExtKey is Private.

actual fun isPrivate(): Boolean

Checks if ExtKey is Private.

actual external fun isPrivate(): Boolean

Checks if ExtKey is Private.

Link copied to clipboard
expect fun verifyCompactSignatureWithHash(message: ByteArray, signature: ByteArray): Boolean

Validates a signature of a message.

actual fun verifyCompactSignatureWithHash(message: ByteArray, signature: ByteArray): Boolean

Validates a signature of a message.

actual external fun verifyCompactSignatureWithHash(message: ByteArray, signature: ByteArray): Boolean

Validates a signature of a message.