CryptoType

Trait CryptoType 

Source
pub trait CryptoType {
    type Pair: Pair;
}
Expand description

Type which has a particular kind of crypto associated with it.

Required Associated Types§

Source

type Pair: Pair

The pair key type of this crypto.

Implementors§

Source§

impl CryptoType for sp_core::ecdsa::Pair

Source§

impl CryptoType for sp_core::ed25519::Pair

Source§

impl CryptoType for sp_core::sr25519::Pair

Source§

impl CryptoType for sp_core::ecdsa::Public

Source§

impl CryptoType for sp_core::ecdsa::Signature

Source§

impl CryptoType for sp_core::ed25519::Public

Source§

impl CryptoType for sp_core::ed25519::Signature

Source§

impl CryptoType for sp_core::sr25519::Public

Source§

impl CryptoType for sp_core::sr25519::Signature

Source§

impl CryptoType for Dummy

Source§

type Pair = CryptoBytes<0, DummyTag>