Bip32Slip10Ed25519 class
Represents a Bip32Slip10Ed25519 hierarchical deterministic key for Ed25519 curve.
This class extends the Bip32Base class and provides functionality for working with Bip32Slip10Ed25519 keys. It is used for key derivation and management within the Ed25519 curve.
Constructors:
- Bip32Slip10Ed25519 constructor for creating an instance with provided key data.
- Bip32Slip10Ed25519.fromSeed constructor for creating a key from a seed.
- Bip32Slip10Ed25519.fromPrivateKey constructor for creating a key from a private key.
- Bip32Slip10Ed25519.fromPublicKey constructor for creating a key from a public key.
- Bip32Slip10Ed25519.fromExtendedKey constructor for creating a key from an extended key string.
This class is specific to the Ed25519 curve and provides necessary methods for working with this curve, such as key derivation and management.
- Inheritance
- Implementers
Constructors
-
Bip32Slip10Ed25519({required Bip32KeyData keyData, required Bip32KeyNetVersions keyNetVer, required List<
int> ? privKey, required List<int> ? pubKey}) - constructor for creating an instance with provided key data.
- Bip32Slip10Ed25519.fromExtendedKey(String exKeyStr, [Bip32KeyNetVersions? keyNetVer])
- constructor for creating a key from an extended key string.
-
Bip32Slip10Ed25519.fromPrivateKey(List<
int> privKey, {Bip32KeyData? keyData, Bip32KeyNetVersions? keyNetVer}) - constructor for creating a key from a private key.
-
Bip32Slip10Ed25519.fromPublicKey(List<
int> pubkey, {Bip32KeyData? keyData, Bip32KeyNetVersions? keyNetVer}) - constructor for creating a key from a public key.
-
Bip32Slip10Ed25519.fromSeed(List<
int> seedBytes, [Bip32KeyNetVersions? keyNetVer]) - constructor for creating a key from a seed.
Properties
- chainCode → Bip32ChainCode
-
Gets the chain code associated with this key.
no setterinherited
- curveType → EllipticCurveTypes
-
Returns the curve type, ED25519.
no setteroverride
- defaultKeyNetVersion → Bip32KeyNetVersions
-
Returns the default key network versions network.
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 for Ed25519.
no setteroverride
- keyNetVersions → Bip32KeyNetVersions
-
Gets the key network versions.
no setterinherited
- masterKeyGenerator → IBip32MstKeyGenerator
-
Returns the master key generator for Ed25519.
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) → Bip32Slip10Ed25519 -
Derives a child key from the current key, based on the provided 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