[][src]Struct wagyu_zcash::extended_private_key::ZcashExtendedPrivateKey

pub struct ZcashExtendedPrivateKey<N: ZcashNetwork> { /* fields omitted */ }

Represents a Zcash extended private key

Methods

impl<N: ZcashNetwork> ZcashExtendedPrivateKey<N>[src]

pub fn to_extended_spending_key(&self) -> ExtendedSpendingKey<N>[src]

Returns the extended spending key of the Zcash extended private key.

Trait Implementations

impl<N: Clone + ZcashNetwork> Clone for ZcashExtendedPrivateKey<N>[src]

impl<N: Debug + ZcashNetwork> Debug for ZcashExtendedPrivateKey<N>[src]

impl<N: ZcashNetwork> Display for ZcashExtendedPrivateKey<N>[src]

impl<N: ZcashNetwork> Eq for ZcashExtendedPrivateKey<N>[src]

impl<N: ZcashNetwork> ExtendedPrivateKey for ZcashExtendedPrivateKey<N>[src]

type Address = ZcashAddress<N>

type DerivationPath = ZcashDerivationPath<N>

type ExtendedPublicKey = ZcashExtendedPublicKey<N>

type Format = ZcashFormat

type PrivateKey = ZcashPrivateKey<N>

type PublicKey = ZcashPublicKey<N>

fn new(
    seed: &[u8],
    _format: &Self::Format,
    path: &Self::DerivationPath
) -> Result<Self, ExtendedPrivateKeyError>
[src]

Returns a new Zcash extended private key.

fn new_master(
    seed: &[u8],
    _: &Self::Format
) -> Result<Self, ExtendedPrivateKeyError>
[src]

Returns a new Zcash extended private key.

fn derive(
    &self,
    path: &Self::DerivationPath
) -> Result<Self, ExtendedPrivateKeyError>
[src]

Returns the extended private key of the given derivation path.

fn to_extended_public_key(&self) -> Self::ExtendedPublicKey[src]

Returns the extended public key of the corresponding extended private key.

fn to_private_key(&self) -> Self::PrivateKey[src]

Returns the private key of the corresponding extended private key.

fn to_public_key(&self) -> Self::PublicKey[src]

Returns the public key of the corresponding extended private key.

fn to_address(
    &self,
    format: &Self::Format
) -> Result<Self::Address, AddressError>
[src]

Returns the address of the corresponding extended private key.

impl<N: ZcashNetwork> FromStr for ZcashExtendedPrivateKey<N>[src]

type Err = ExtendedPrivateKeyError

The associated error which can be returned from parsing.

impl<N: ZcashNetwork> Ord for ZcashExtendedPrivateKey<N>[src]

impl<N: ZcashNetwork> PartialEq<ZcashExtendedPrivateKey<N>> for ZcashExtendedPrivateKey<N>[src]

impl<N: ZcashNetwork> PartialOrd<ZcashExtendedPrivateKey<N>> for ZcashExtendedPrivateKey<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for ZcashExtendedPrivateKey<N> where
    N: RefUnwindSafe

impl<N> Send for ZcashExtendedPrivateKey<N>

impl<N> Sync for ZcashExtendedPrivateKey<N>

impl<N> Unpin for ZcashExtendedPrivateKey<N> where
    N: Unpin

impl<N> UnwindSafe for ZcashExtendedPrivateKey<N> where
    N: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,