referrerpolicy=no-referrer-when-downgrade
sp_application_crypto

Trait AppPair

Source
pub trait AppPair: AppCrypto + Pair<Public = <Self as AppCrypto>::Public, Signature = <Self as AppCrypto>::Signature> {
    type Generic: IsWrappedBy<Self> + Pair<Public = <<Self as AppCrypto>::Public as AppPublic>::Generic> + Pair<Signature = <<Self as AppCrypto>::Signature as AppSignature>::Generic>;
}
Expand description

Application-specific key pair.

Required Associated Types§

Source

type Generic: IsWrappedBy<Self> + Pair<Public = <<Self as AppCrypto>::Public as AppPublic>::Generic> + Pair<Signature = <<Self as AppCrypto>::Signature as AppSignature>::Generic>

The wrapped type which is just a plain instance of Pair.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl AppPair for sp_application_crypto::bandersnatch::AppPair

Source§

impl AppPair for sp_application_crypto::bls381::AppPair

Source§

type Generic = Pair<TinyBLS<Bls12<Config>, Config>>

Source§

impl AppPair for sp_application_crypto::ecdsa::AppPair

Source§

impl AppPair for sp_application_crypto::ecdsa_bls381::AppPair

Source§

type Generic = Pair<Pair, Pair<TinyBLS<Bls12<Config>, Config>>, sp_core::::paired_crypto::ecdsa_bls381::Pair::{constant#0}, sp_core::::paired_crypto::ecdsa_bls381::Pair::{constant#1}, EcdsaBls381Tag>

Source§

impl AppPair for sp_application_crypto::ed25519::AppPair

Source§

impl AppPair for sp_application_crypto::sr25519::AppPair

impl AppPair for Pair

impl AppPair for Pair

impl AppPair for Pair

impl AppPair for Pair