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.
Associated Types
type UntypedGeneric: IsWrappedBy<Self>
type UntypedGeneric: IsWrappedBy<Self>
The corresponding type as a generic crypto type.
type Signature: AppSignature
type Signature: AppSignature
The corresponding signature type in this application scheme.
Associated Constants
const CRYPTO_ID: CryptoTypeId
const CRYPTO_ID: CryptoTypeId
The identifier of the crypto type of this application-specific key type.