Bip32PrivateKey class

Represents a BIP32 private key with associated data such as the elliptic curve type, key data, and key network versions.

Inheritance

Constructors

Bip32PrivateKey(IPrivateKey privKey, Bip32KeyData keyData, Bip32KeyNetVersions keyNetVer)
Creates a Bip32PrivateKey instance with the provided private key, key data, and key network versions.

Properties

chainCode Bip32ChainCode
Gets the chain code associated with the BIP32 key.
no setterinherited
curveType EllipticCurveTypes
finalinherited
hashCode int
The hash code for this object.
no setterinherited
keyData Bip32KeyData
finalinherited
keyNetVer Bip32KeyNetVersions
finalinherited
privKey IPrivateKey
final
publicKey Bip32PublicKey
Gets the corresponding public key derived from this private key.
no setter
raw List<int>
Gets the raw representation of the private key.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toExtended String
Gets the extended key of private key.
no setteroverride

Methods

keyObject() IPrivateKey
Gets the underlying private key object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toHex({bool lowerCase = true, String? prefix = ""}) String
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromBytes(List<int> keyBytes, Bip32KeyData keyData, Bip32KeyNetVersions keyNetVer, EllipticCurveTypes curveType) Bip32PrivateKey
Creates a Bip32PrivateKey from a byte representation, key data, key network versions, and curve type.