Module poc

Module poc 

Source
Expand description

PoC (Proof of Continuity) payload model.

Defines the PoC data structure for CBOR serialization within COSE_Sign1 envelope. Based on PIC Spec v0.2.

Key changes from v0.1:

  • proof.poi replaced by attestations[] (Executor Attestation array)
  • proof.pop is now per-attestation (inside each attestation that requires it)
  • proof.challenge moved to COSE protected header
  • proof.key_material removed (key is extracted from attestation credential)

The PoC proves causal continuity by demonstrating that the executor:

  1. Holds a valid predecessor PCA
  2. Can attest its identity via one or more attestations
  3. Requests authority that is a subset of the predecessor’s

Structs§

ExecutorAttestation
Executor Attestation - a verifiable document attesting executor properties.
PocBuilder
Builder for creating PoC payloads.
PocPayload
PoC Payload - the CBOR content signed by the executor with COSE_Sign1.
Successor
Successor - proposed authority for the next hop.