referrerpolicy=no-referrer-when-downgrade
sp_core::crypto

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::bandersnatch::Pair

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::bandersnatch::Public

Source§

impl CryptoType for sp_core::bandersnatch::Signature

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::paired_crypto::ecdsa_bls377::Pair

Source§

type Pair = Pair<Pair, Pair<TinyBLS<Bls12<Config>, Config>>, PUBLIC_KEY_LEN, SIGNATURE_LEN, EcdsaBls377Tag>

Source§

impl CryptoType for sp_core::paired_crypto::ecdsa_bls377::Public

Source§

type Pair = Pair<Pair, Pair<TinyBLS<Bls12<Config>, Config>>, PUBLIC_KEY_LEN, SIGNATURE_LEN, EcdsaBls377Tag>

Source§

impl CryptoType for sp_core::paired_crypto::ecdsa_bls377::Signature

Source§

type Pair = Pair<Pair, Pair<TinyBLS<Bls12<Config>, Config>>, PUBLIC_KEY_LEN, SIGNATURE_LEN, EcdsaBls377Tag>

Source§

impl CryptoType for sp_core::paired_crypto::ecdsa_bls381::Pair

Source§

type Pair = Pair<Pair, Pair<TinyBLS<Bls12<Config>, Config>>, PUBLIC_KEY_LEN, SIGNATURE_LEN, EcdsaBls381Tag>

Source§

impl CryptoType for sp_core::paired_crypto::ecdsa_bls381::Public

Source§

type Pair = Pair<Pair, Pair<TinyBLS<Bls12<Config>, Config>>, PUBLIC_KEY_LEN, SIGNATURE_LEN, EcdsaBls381Tag>

Source§

impl CryptoType for sp_core::paired_crypto::ecdsa_bls381::Signature

Source§

type Pair = Pair<Pair, Pair<TinyBLS<Bls12<Config>, Config>>, PUBLIC_KEY_LEN, SIGNATURE_LEN, EcdsaBls381Tag>

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>

Source§

impl<T: BlsBound> CryptoType for sp_core::bls::Pair<T>

Source§

type Pair = Pair<T>

Source§

impl<T: BlsBound> CryptoType for sp_core::bls::Public<T>

Source§

type Pair = Pair<T>

Source§

impl<T: BlsBound> CryptoType for sp_core::bls::Signature<T>

Source§

type Pair = Pair<T>