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

§

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

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>