/// Check sums against a signature.
Check sums against a signature.
Check sums against a signature .
pub fn check(&self, sig: &[u8], sums: &str) -> anyhow::Result<()> {
        let sums = Cursor::new(sums.as_bytes());
        gpgrv::verify_detached(sig, sums, &self.keyring)?;
        Ok(())
    }
pub fn check ( & self , sig : & [ u8 ] , sums : & str ) -> anyhow :: Result < ( ) > { let sums = Cursor :: new ( sums . as_bytes ( ) ) ; gpgrv :: verify_detached ( sig , sums , & self . keyring ) ? ; Ok ( ( ) ) }
Check sums against a signature.
Check sums against a signature .
&self
sig
&[u8]
sums
&str