Trait sp_application_crypto::AppKey
source · pub trait AppKey: 'static + Send + Sync + Sized + CryptoType + Clone {
type UntypedGeneric: IsWrappedBy<Self>;
type Public: AppPublic;
type Pair: AppPair;
type Signature: AppSignature;
const ID: KeyTypeId;
const CRYPTO_ID: CryptoTypeId;
}
Expand description
An application-specific key.
Required Associated Types§
sourcetype UntypedGeneric: IsWrappedBy<Self>
type UntypedGeneric: IsWrappedBy<Self>
The corresponding type as a generic crypto type.
sourcetype Signature: AppSignature
type Signature: AppSignature
The corresponding signature type in this application scheme.
Required Associated Constants§
sourceconst CRYPTO_ID: CryptoTypeId
const CRYPTO_ID: CryptoTypeId
The identifier of the crypto type of this application-specific key type.