package objectgateway import ( "encoding/json" "time" ) // Attestation is the retired whole-bucket exclusive-writer evidence format. // It is kept only so historical audit artifacts remain readable; no runtime // path loads, verifies or requires it. Admission is the journal, the backend // capability and the frozen plan, all of which work on a shared bucket. type Attestation struct { Protocol string `json:"protocol"` Scope string `json:"scope"` GatewayID string `json:"gateway_id"` IssuedAt time.Time `json:"issued_at"` ExpiresAt time.Time `json:"expires_at"` WriterInventory string `json:"writer_inventory_sha256"` PolicyEvidence string `json:"policy_evidence_sha256"` DenialEvidence string `json:"denial_evidence_sha256"` DrainEvidence string `json:"drain_evidence_sha256"` } type SignedAttestation struct { Payload json.RawMessage `json:"payload"` Signature []byte `json:"signature"` }