Trait sp_application_crypto::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.

Object Safety§

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

§

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

§

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