CardanoByronLegacyBip32 class
This class provides a foundation for managing hierarchical deterministic keys according to the cardano byron legacy BIP-32. It includes methods and properties for working with extended keys, deriving child keys, and conversion between public and private keys. Constructors:
- CardanoByronLegacyBip32: A private constructor used to create an instance with specified key data, network versions, private key, and public key.
- CardanoByronLegacyBip32.fromPrivateKey: Creates a Bip32 key pair from a private key.
- CardanoByronLegacyBip32.fromExtendedKey: Creates a Bip32 key pair from an extended key.
- CardanoByronLegacyBip32.fromSeed: Creates a Bip32 key pair from a seed.
- CardanoByronLegacyBip32.fromPublicKey: Creates a Bip32 key pair from a public key.
Constructors
- CardanoByronLegacyBip32.fromExtendedKey(String exKeyStr, [Bip32KeyNetVersions? keyNetVer])
- Creates a CardanoByronLegacyBip32 instance from a extended key.
-
CardanoByronLegacyBip32.fromPrivateKey(List<
int> privKey, [Bip32KeyData? keyData, Bip32KeyNetVersions? keyNetVer]) - Creates a CardanoByronLegacyBip32 instance from a private key.
-
CardanoByronLegacyBip32.fromPublicKey(List<
int> pubkey, [Bip32KeyData? keyData, Bip32KeyNetVersions? keyNetVer]) - Creates a CardanoByronLegacyBip32 instance from a public key.
-
CardanoByronLegacyBip32.fromSeed(List<
int> seedBytes, [Bip32KeyNetVersions? keyNetVer]) - Creates a CardanoByronLegacyBip32 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 CardanoByronLegacyBip32 keys.
no setteroverride
- keyNetVersions → Bip32KeyNetVersions
-
Gets the key network versions.
no setterinherited
- masterKeyGenerator → IBip32MstKeyGenerator
-
Returns the master key generator used for CardanoByronLegacyBip32 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) → CardanoByronLegacyBip32 -
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