pub struct Bip32PublicNode<C: KeyDerivationCrypto + 'static> { /* private fields */ }
Expand description

In BIP-0032 a neutered extended private key is an extended public key. This struct represents such an extended public key in a given subtree. It is able to do normal (public) derivation, signature verification, creating and validating key identifiers

Implementations

Backdoor for advanced or fringe non-standard use-cases. Use [Bip32.master] instead for normal use-cases.

Accessor for the BIP32 path of this node

Accessor for the extended public key of this node

Accessor for the subtree of this node

Create a new node with normal (public) derivation with the given index.

Creates the public key that belongs to this node for verifying authentications done by the corresponding private key.

Creates the key identifier for the public key. This is an extra layer of security for single-use keys, so the revealing of the public key can be delayed to the point when the authenticated action (spending some coin or revoking access) makes the public key irrelevant after the action is successful.

Recreates the BIP32 public node from its parts

Returns the extended public key in the BIP32 readable format with the version bytes of the network.

Returns the P2PKH address that belongs to this node using the version byte of the network.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.