Struct iop_keyvault::secp256k1::SecpExtPublicKey
source · [−]pub struct SecpExtPublicKey { /* private fields */ }
Expand description
Implementation of Secp256k1::ExtendedPublicKey
Implementations
Trait Implementations
sourceimpl Clone for SecpExtPublicKey
impl Clone for SecpExtPublicKey
sourcefn clone(&self) -> SecpExtPublicKey
fn clone(&self) -> SecpExtPublicKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl ExtendedPublicKey<Secp256k1> for SecpExtPublicKey
impl ExtendedPublicKey<Secp256k1> for SecpExtPublicKey
sourcefn derive_normal_child(&self, idx: i32) -> Result<SecpExtPublicKey>
fn derive_normal_child(&self, idx: i32) -> Result<SecpExtPublicKey>
Derive child extended public keys. Useful for auditing hierarchical deterministic wallets, or generating a new address for each on-chain transaction knowing the owner of the corresponding extended private key can spend the received coins. Read more
sourcefn public_key(&self) -> SecpPublicKey
fn public_key(&self) -> SecpPublicKey
Throws away the chain code and gives back only the public key from the extended public key.
Auto Trait Implementations
impl RefUnwindSafe for SecpExtPublicKey
impl Send for SecpExtPublicKey
impl Sync for SecpExtPublicKey
impl Unpin for SecpExtPublicKey
impl UnwindSafe for SecpExtPublicKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more