Skip to main content

verify_from_file_with_key

Function verify_from_file_with_key 

Source
pub fn verify_from_file_with_key(
    binary_path: &Path,
    signature_path: &Path,
    public_key: &MlDsaPublicKey,
) -> Result<()>
Expand description

Verify from file with explicit key.

§Arguments

  • binary_path - Path to the binary to verify
  • signature_path - Path to the detached signature file
  • public_key - The public key to verify against

§Errors

Returns an error if the signature file cannot be read or verification fails.