Skip to main content

derive_template

Function derive_template 

Source
pub fn derive_template(
    capture: &RawCapture,
    purpose: StrongDigest,
    algorithm_version: StrongDigest,
    provenance: StrongDigest,
    generation: Generation,
) -> Result<DerivedTemplate, QdnfError>
Expand description

Derive a cancellable template from a local capture. The raw sample is not hashed into a reusable identifier.