is_evidence_fresh
Verify whether typed attestation evidence is still fresh. For rotating type, a TTL is required; snapshot uses optional maxAge; static evidence always fresh. Supports a custom current time override.
Instructions
Check whether typed attestation evidence is still fresh. rotating: ttl required; snapshot: maxAge optional; static: always fresh.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| valid_at | Yes | ISO 8601 timestamp evidence was produced | |
| ttl | No | Seconds (required for rotating) | |
| max_age | No | Seconds (optional for snapshot) | |
| now | No | ISO 8601 override for current time |