Trait gclient::ext::sp_runtime::app_crypto::Derive

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

Derivable key trait.

Provided Methods§

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

Derive a child key from a series of given junctions.

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

Object Safety§

This trait is not object safe.

Implementors§

§

impl Derive for gclient::ext::sp_runtime::app_crypto::ecdsa::AppPublic

§

impl Derive for gclient::ext::sp_runtime::app_crypto::ed25519::AppPublic

§

impl Derive for gclient::ext::sp_runtime::app_crypto::sr25519::AppPublic

§

impl<const N: usize, SubTag> Derive for CryptoBytes<N, (PublicTag, SubTag)>
where CryptoBytes<N, (PublicTag, SubTag)>: CryptoType,