ExtendedPublicKey class

An extended public key as defined by the BIP32 specification.

In the lingo of the spec this is a (K, c). This can be used to generate further public child keys only.

Inheritance

Constructors

ExtendedPublicKey({ECPoint? q, dynamic depth, dynamic childNumber, dynamic chainCode, dynamic parentFingerprint})
ExtendedPublicKey.deserialize(Uint8List key)
factory

Properties

chainCode Uint8List?
32 bytes
getter/setter pairinherited
childNumber int?
getter/setter pairinherited
depth int?
getter/setter pairinherited
fingerprint Uint8List
Returns the first 4 bytes of the hash160 compressed public key.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
parentFingerprint Uint8List?
4 bytes
getter/setter pairinherited
q ↔ ECPoint?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version Uint8List?
4 bytes
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
privateKeyHex() String
inherited
publicKey() ExtendedPublicKey
Returns the public key assocated with the extended key.
override
toString() String
Returns the string representation of this extended key. This can be written to disk for future deserializion.
inherited
verifyChecksum(Uint8List externalChecksum) bool
Used to verify deserialized keys.
inherited

Operators

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