Trait sp_runtime::traits::Verify [−][src]
Means of signature verification.
Associated Types
type Signer: IdentifyAccount
[src]
Type of the signer.
Required methods
fn verify<L: Lazy<[u8]>>(
&self,
msg: L,
signer: &<Self::Signer as IdentifyAccount>::AccountId
) -> bool
[src]
&self,
msg: L,
signer: &<Self::Signer as IdentifyAccount>::AccountId
) -> bool
Verify a signature.
Return true
if signature is valid for the value.