feat: add workload-authenticated result API

This commit is contained in:
Josh Creek
2026-09-01 10:01:04 +01:00
parent a70a0ebc74
commit eebab1bc19
6 changed files with 150 additions and 3 deletions
+4
View File
@@ -79,6 +79,10 @@ type ResultReceipt struct {
CommittedAt time.Time
}
// ResultDigest exposes the canonical payload digest to transport adapters;
// callers still need the domain validation and workload binding policy.
func ResultDigest(result MatchResult) [32]byte { return resultDigest(result) }
type ResultStore struct {
expected WorkloadBinding
receipts map[string]ResultReceipt