pub struct PicTransitionPayload {
pub profile: String,
pub position: u64,
pub predecessor: Predecessor,
pub challenge: TransitionChallenge,
pub attenuations: Option<AttenuationsWire>,
pub proof_of_relationship: ProofOfRelationship,
pub request_digest: Option<Vec<u8>>,
pub executor_evidence: Option<Value>,
}Expand description
PIC Continuity Transition COSE payload: the workload-signed causal authority transition.
No Eq: executor_evidence may carry arbitrary CBOR, including floats.
Fields§
§profile: StringPIC profile identifier; must equal crate::PROFILE_0_2.
position: u64Proposed successor position: exactly predecessor position + 1.
predecessor: PredecessorThe exactly-one reference to the current trusted checkpoint.
challenge: TransitionChallengeChallenge pair: answers the predecessor’s challenge, emits the next.
attenuations: Option<AttenuationsWire>Optional monotonic attenuations; omitted means “carry authority forward unchanged”.
proof_of_relationship: ProofOfRelationshipProof of Relationship binding the proposing workload to the lineage.
request_digest: Option<Vec<u8>>Optional digest binding the transition to a concrete request, when the deployment requires request binding.
executor_evidence: Option<Value>Optional executor-supplied evidence (arbitrary CBOR) evaluated by deployment conformance policy.
Implementations§
Source§impl PicTransitionPayload
impl PicTransitionPayload
Sourcepub fn check_profile(&self) -> Result<(), RejectReason>
pub fn check_profile(&self) -> Result<(), RejectReason>
Rejects the payload unless profile is crate::PROFILE_0_2.
Trait Implementations§
Source§impl Clone for PicTransitionPayload
impl Clone for PicTransitionPayload
Source§fn clone(&self) -> PicTransitionPayload
fn clone(&self) -> PicTransitionPayload
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more