Trait sp_application_crypto::AppPublic

source ·
pub trait AppPublic: AppCrypto + Public + Debug + MaybeHash + Codec {
    type Generic: IsWrappedBy<Self> + Public + Debug + MaybeHash + Codec;
}
Expand description

Application-specific public key.

Required Associated Types§

source

type Generic: IsWrappedBy<Self> + Public + Debug + MaybeHash + Codec

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl AppPublic for sp_application_crypto::bandersnatch::AppPublic

§

type Generic = CryptoBytes<sp_core::::bandersnatch::Public::{constant#0}, (PublicTag, BandersnatchTag)>

source§

impl AppPublic for sp_application_crypto::bls381::AppPublic

§

type Generic = CryptoBytes<sp_core::::bls::Public::{constant#0}, (PublicTag, (BlsTag, TinyBLS<Bls12<Config>, Config>))>

source§

impl AppPublic for sp_application_crypto::ecdsa::AppPublic

§

type Generic = CryptoBytes<sp_core::::ecdsa::Public::{constant#0}, (PublicTag, EcdsaTag)>

source§

impl AppPublic for sp_application_crypto::ecdsa_bls381::AppPublic

§

type Generic = CryptoBytes<sp_core::::paired_crypto::ecdsa_bls381::Public::{constant#0}, (PublicTag, (PairedCryptoTag, EcdsaBls381Tag))>

source§

impl AppPublic for sp_application_crypto::ed25519::AppPublic

§

type Generic = CryptoBytes<sp_core::::ed25519::Public::{constant#0}, (PublicTag, Ed25519Tag)>

source§

impl AppPublic for sp_application_crypto::sr25519::AppPublic

§

type Generic = CryptoBytes<sp_core::::sr25519::Public::{constant#0}, Sr25519PublicTag>