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

source§

impl AppPair for sp_application_crypto::ed25519::AppPair

source§

impl AppPair for sp_application_crypto::sr25519::AppPair