Quickstart: verify from Python
pip install confium
from confium import signatif
result = signatif.verify_trusted_artifact(
artifact, # dict: the trusted artifact
bundle, # dict: the trust anchor bundle
graph, # dict: the trust graph
registry=cnml_registry, # dict or None for defaults
transparency_included=True,
time_anchored=True,
time_attested_at="2026-08-18T09:00:00Z",
accepted_labels=["verified", "attested"],
)
if result["accept"]:
print(result["label"], result["coverage"]["dimensions_verified"])
Malformed inputs raise ValueError naming the offending object;
hard-check failures raise ValueError naming the failing check.
See also the HTTP quickstart for a
service without the native extension.