pub trait Verify {
    type Signer: IdentifyAccount;

    fn verify<L>(
        &self,
        msg: L,
        signer: &<Self::Signer as IdentifyAccount>::AccountId
    ) -> bool
    where
        L: Lazy<[u8]>
; }
Expand description

Means of signature verification.

Required Associated Types§

Type of the signer.

Required Methods§

Verify a signature.

Return true if signature is valid for the value.

Implementations on Foreign Types§

Implementors§