pub trait Signature {
    type PublicKey;

    // Required method
    fn verify(
        &self,
        pub_key: &Self::PublicKey,
        msg: &[u8]
    ) -> Result<(), SigVerificationError>;
}
Expand description

Signature used in the Module System.

Required Associated Types§

Required Methods§

source

fn verify( &self, pub_key: &Self::PublicKey, msg: &[u8] ) -> Result<(), SigVerificationError>

Implementors§