sp_runtime

Trait CryptoType

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

Re-export this since it’s part of the API of this crate. 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.

Implementations on Foreign Types§

source§

impl CryptoType for Pair

source§

impl CryptoType for Public

source§

impl CryptoType for Signature

source§

impl CryptoType for Pair

source§

impl CryptoType for Public

source§

impl CryptoType for Signature

source§

impl CryptoType for Pair

source§

impl CryptoType for Public

source§

impl CryptoType for Signature

Implementors§

source§

impl CryptoType for CryptoBytes<sp_core::::ecdsa::Public::{constant#0}, (PublicTag, EcdsaTag)>

source§

impl CryptoType for CryptoBytes<sp_core::::ecdsa::Signature::{constant#0}, (SignatureTag, EcdsaTag)>

source§

impl CryptoType for CryptoBytes<sp_core::::ed25519::Public::{constant#0}, (PublicTag, Ed25519Tag)>

source§

impl CryptoType for CryptoBytes<sp_core::::ed25519::Signature::{constant#0}, (SignatureTag, Ed25519Tag)>

source§

impl CryptoType for CryptoBytes<sp_core::::sr25519::Signature::{constant#0}, (SignatureTag, Sr25519Tag)>

source§

impl CryptoType for sp_core::ecdsa::Pair

source§

impl CryptoType for sp_core::ed25519::Pair

source§

impl CryptoType for sp_runtime::testing::sr25519::Pair

source§

impl CryptoType for UintAuthorityId

source§

type Pair = CryptoBytes<0, DummyTag>