Bip32KholawEd25519 class
A class representing Bip32 hierarchical deterministic keys using the Kholaw elliptic curve with Ed25519 keys.
This class extends Bip32Base and is specialized for the Kholaw elliptic curve with Ed25519 keys. It provides methods for creating keys from a seed, a private key, or an extended key, as well as working with public keys.
Constructors:
Bip32KholawEd25519._
: A private constructor used to create an instance with specified key data, network versions, private key, and public key.- Bip32KholawEd25519.fromPrivateKey: Creates a Bip32 key pair from a private key.
- Bip32KholawEd25519.fromExtendedKey: Creates a Bip32 key pair from an extended key.
- Bip32KholawEd25519.fromSeed: Creates a Bip32 key pair from a seed.
- Bip32KholawEd25519.fromPublicKey: Creates a Bip32 key pair from a public key.
Constructors
- Bip32KholawEd25519.fromExtendedKey(String exKeyStr, [Bip32KeyNetVersions? keyNetVer])
- Creates a Bip32 key pair from an extended key.
-
Bip32KholawEd25519.fromPrivateKey(List<
int> privKey, {Bip32KeyData? keyData, Bip32KeyNetVersions? keyNetVer}) - Creates a Bip32 key pair from a private key.
-
Bip32KholawEd25519.fromPublicKey(List<
int> pubkey, {Bip32KeyData? keyData, Bip32KeyNetVersions? keyNetVer}) - Creates a Bip32 key pair from a public key.
-
Bip32KholawEd25519.fromSeed(List<
int> seedBytes, [Bip32KeyNetVersions? keyNetVer]) - Creates a Bip32 key pair 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 Bip32KholawEd25519 keys.
no setteroverride
- keyNetVersions → Bip32KeyNetVersions
-
Gets the key network versions.
no setterinherited
- masterKeyGenerator → IBip32MstKeyGenerator
-
Returns the master key generator used for Bip32KholawEd25519 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) → Bip32KholawEd25519 -
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