pub fn validate_before_render(
container_bytes: &[u8],
manifest: &GeometryManifestFacts<'_>,
config: &GeometryAssetConfiguration,
index: &QuinIndex,
now: u32,
key_resolver: impl Fn(u64) -> Option<VerifyingKey>,
) -> Result<Mesh, BarrierError>Expand description
The validate-before-render barrier.
- Relational SHACL validation.
.10dwhole-file CRC verification.- Provenance extraction and
validate_provenance(source_digest and licence checks). - If a VC is present, decodes it and verifies the signature using
verify_grounded. - Finally decodes and returns the
Mesh.