Bip32PublicKey class
Represents a BIP32 public key with associated data such as the elliptic curve type, key data, and key network versions.
- Inheritance
-
- Object
- Bip32KeyBase
- Bip32PublicKey
Constructors
- Bip32PublicKey(IPublicKey pubKey, Bip32KeyData keyData, Bip32KeyNetVersions keyNetVer)
- Creates a Bip32PublicKey instance with the provided public key, key data, and key network versions.
Properties
- chainCode → Bip32ChainCode
-
Gets the chain code associated with the BIP32 key.
no setterinherited
-
compressed
→ List<
int> -
Gets the compressed representation of the public key.
no setter
- curveType → EllipticCurveTypes
-
finalinherited
- fingerPrint → Bip32FingerPrint
-
Gets the fingerprint of the public key, derived from the key identifier.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → IPublicKey
-
Gets the underlying public key.
no setter
- keyData → Bip32KeyData
-
finalinherited
-
keyIdentifier
→ List<
int> -
Gets the key identifier, which is the hash of the compressed public key.
no setter
- keyNetVer → Bip32KeyNetVersions
-
finalinherited
- point → AbstractPoint
-
Gets the abstract point representation of the public key.
no setter
- pubKey → IPublicKey
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toExtended → String
-
Gets the extended key of public key.
no setteroverride
-
uncompressed
→ List<
int> -
Gets the uncompressed representation of the public ke
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toHex(
{bool withPrefix = true, 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) → Bip32PublicKey - Creates a Bip32PublicKey from a byte representation, key data, key network versions, and curve type.