Skip to main content

IntegrityVerifier

Trait IntegrityVerifier 

Source
pub trait IntegrityVerifier {
    // Required method
    fn verify(
        &self,
        artifact_id: &str,
        bytes: &[u8],
        expected_digest: &str,
    ) -> Result<IntegrityProof, AsupersyncError>;
}

Required Methods§

Source

fn verify( &self, artifact_id: &str, bytes: &[u8], expected_digest: &str, ) -> Result<IntegrityProof, AsupersyncError>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§