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.

Implementors§

source§

impl AppPair for sp_application_crypto::bandersnatch::AppPair

source§

impl AppPair for sp_application_crypto::bls377::AppPair

§

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

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::ed25519::AppPair

source§

impl AppPair for sp_application_crypto::sr25519::AppPair