Trait sp_core::crypto::Derive

source ·
pub trait Derive: Sized {
    // Provided method
    fn derive<Iter: Iterator<Item = DeriveJunction>>(
        &self,
        _path: Iter
    ) -> Option<Self> { ... }
}
Expand description

Derivable key trait.

Provided Methods§

source

fn derive<Iter: Iterator<Item = DeriveJunction>>( &self, _path: Iter ) -> Option<Self>

Derive a child key from a series of given junctions.

Will be None for public keys if there are any hard junctions in there.

Implementors§

source§

impl Derive for sp_core::bandersnatch::Public

source§

impl Derive for sp_core::ecdsa::Public

source§

impl Derive for sp_core::ed25519::Public

source§

impl Derive for sp_core::sr25519::Public

source§

impl Derive for Dummy

source§

impl<T> Derive for sp_core::bls::Public<T>