CardanoIcarusBip32 class

This class provides a foundation for managing hierarchical deterministic keys according to the cardano Icarus BIP-32. It includes methods and properties for working with extended keys, deriving child keys, and conversion between public and private keys. Constructors:

Inheritance

Constructors

CardanoIcarusBip32.fromExtendedKey(String exKeyStr, [Bip32KeyNetVersions? keyNetVer])
Creates a CardanoIcarusBip32 instance from a extended key.
CardanoIcarusBip32.fromPrivateKey(List<int> privKey, {Bip32KeyData? keyData, Bip32KeyNetVersions? keyNetVer})
Creates a CardanoIcarusBip32 instance from a private key.
CardanoIcarusBip32.fromPublicKey(List<int> pubkey, {Bip32KeyData? keyData, Bip32KeyNetVersions? keyNetVer})
Creates a CardanoIcarusBip32 instance from a public key.
CardanoIcarusBip32.fromSeed(List<int> seedBytes, [Bip32KeyNetVersions? keyNetVer])
Creates a CardanoIcarusBip32 instance from a seed.

Properties

chainCode Bip32ChainCode
Gets the chain code associated with this key.
no setterinherited
curveType EllipticCurveTypes
Returns the elliptic curve type associated with this Bip32 key.
no setteroverride
defaultKeyNetVersion Bip32KeyNetVersions
Returns the default Bip32 key network versions.
no setteroverride
depth Bip32Depth
Gets the current depth of this key.
no setterinherited
fingerPrint Bip32FingerPrint
Get public key fingerprint.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
index Bip32KeyIndex
Gets the current index of this key.
no setterinherited
isPublicDerivationSupported bool
Checks if public derivation is supported for this key.
no setterinherited
isPublicOnly bool
Checks if this key is public-only.
no setterinherited
keyDerivator IBip32KeyDerivator
Returns the key derivator used for CardanoIcarusBip32 keys.
no setteroverride
keyNetVersions Bip32KeyNetVersions
Gets the key network versions.
no setterinherited
masterKeyGenerator IBip32MstKeyGenerator
Returns the master key generator used for CardanoIcarusBip32 keys.
no setteroverride
parentFingerPrint Bip32FingerPrint
Gets the parent fingerprint of this key.
no setterinherited
privateKey Bip32PrivateKey
Gets the private key of this BIP-32 key.
no setterinherited
publicKey Bip32PublicKey
Gets the public key of this BIP-32 key.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

childKey(Bip32KeyIndex index) CardanoIcarusBip32
Generates a child key based on the given index.
override
convertToPublic() → void
Converts this BIP-32 key to a public-only key.
inherited
derivePath(String path) Bip32Base
Derives a new BIP-32 key using a derivation path.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited