verifyRasterProof
@totemsdk/raster-proof / verifyRasterProof
Function: verifyRasterProof()
verifyRasterProof(
signed):RasterProofVerifyResult
Verify a signed raster proof end to end.
Checks:
- the underlying @totemsdk/proof verification (signature, proofId, expiry)
- payload contains a structurally valid RasterManifest
- the manifest rasterId matches a recomputation from its fields
- the manifest evidence hash matches the payload manifest
- content hash and Merkle root evidence refs are present when declared
- window proof (when supplied) has a recomputable ID, matches the manifest's Merkle root, and any supplied Merkle proofs verify
- provenance structure is valid for derived rasters
Anchoring is not required. Source raster manifests are not supplied inside the proof, so derivation checks are structural only (full cross-source verification is @totemsdk/raster-proof's verifyRasterDerivation).
Parameters
signed
SignedProof