Trait sp_application_crypto::AppKey[][src]

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;
}

An application-specific key.

Associated Types

type UntypedGeneric: IsWrappedBy<Self>[src]

The corresponding type as a generic crypto type.

type Public: AppPublic[src]

The corresponding public key type in this application scheme.

type Pair: AppPair[src]

The corresponding key pair type in this application scheme.

type Signature: AppSignature[src]

The corresponding signature type in this application scheme.

Loading content...

Associated Constants

const ID: KeyTypeId[src]

An identifier for this application-specific key type.

const CRYPTO_ID: CryptoTypeId[src]

The identifier of the crypto type of this application-specific key type.

Loading content...

Implementors

impl AppKey for sp_application_crypto::ecdsa::AppPair[src]

impl AppKey for sp_application_crypto::ecdsa::AppPublic[src]

impl AppKey for sp_application_crypto::ecdsa::AppSignature[src]

impl AppKey for sp_application_crypto::ed25519::AppPair[src]

impl AppKey for sp_application_crypto::ed25519::AppPublic[src]

impl AppKey for sp_application_crypto::ed25519::AppSignature[src]

impl AppKey for sp_application_crypto::sr25519::AppPair[src]

impl AppKey for sp_application_crypto::sr25519::AppPublic[src]

impl AppKey for sp_application_crypto::sr25519::AppSignature[src]

Loading content...