pub fn verify_hash(&self) -> Result<(), SafError> {
        self.saf
            .verify_hash_sync()
            .map_err(|hash| SafError::SafHashMismatch(self.saf.as_hash().clone(), hash))
    }
/// Verify that the SAF hash in the file matches the SafDef
Verify that the SAF hash in the file matches the SafDef
Verify that the SAF hash in the file matches the SafDef
pub fn verify_hash(&self) -> Result<(), SafError> {
        self.saf
            .verify_hash_sync()
            .map_err(|hash| SafError::SafHashMismatch(self.saf.as_hash().clone(), hash))
    }
pub fn verify_hash ( & self ) -> Result < ( ) , SafError > { self . saf . verify_hash_sync ( ) . map_err ( | hash | SafError :: SafHashMismatch ( self . saf . as_hash ( ) . clone ( ) , hash ) ) }
Verify that the SAF hash in the file matches the SafDef
Verify that the SAF hash in the file matches the SafDef
&self
&self