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

Represents a public key with a given index used on the chain for verifying signatures or validating key identifiers.

Implementations

Backdoor to mount a BIP44 key at any place in the BIP32 tree. Use only for implementing advanced or fringe non-standard use-cases.

Accessor for the underlying BIP32 node.

Accessor for the BIP44 path of the key.

Accessor for the BIP32 path of the key.

Creates the public key for verifying authentications done by this 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.

Accessor for the underlying nwtwork.

Returns the P2PKH address that belongs key with 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.