verify

Function verify 

Source
pub fn verify(file: PathBuf) -> Result<()>
Expand description

Verify digital signatures in a 3MF file.

Checks all digital signatures present in the 3MF package and reports their validity. Requires the crypto feature to be enabled.

§Arguments

  • file - Path to the 3MF file

§Errors

Returns an error if signature verification fails or if any signatures are invalid.

§Feature Gate

This function is only available when compiled with the crypto feature.