[−][src]Trait sp_runtime::traits::Verify
Means of signature verification.
Associated Types
type Signer: IdentifyAccount
[src]
Type of the signer.
Required methods
pub 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.