pub trait DeriveDidCallAuthorizationVerificationKeyRelationship {
    // Required methods
    fn derive_verification_key_relationship(
        &self
    ) -> DeriveDidCallKeyRelationshipResult;
    fn get_call_for_did_call_benchmark() -> Self;
}
Expand description

Trait for extrinsic DID-based authorization.

The trait allows DidAuthorizedCallOperations wrapping an extrinsic to specify what DID key to use to perform signature validation over the byte-encoded operation. A result of None indicates that the extrinsic does not support DID-based authorization.

Required Methods§

source

fn derive_verification_key_relationship( &self ) -> DeriveDidCallKeyRelationshipResult

The type of the verification key to be used to validate the wrapped extrinsic.

source

fn get_call_for_did_call_benchmark() -> Self

Implementors§