pub struct SettlementAuthority<'a> {
pub trusted: &'a dyn TrustedCheckpoint,
pub por: &'a dyn PorValidator,
pub revocation: &'a dyn RevocationCheck,
pub policy: &'a dyn SettlementPolicy,
pub order: &'a dyn AttenuationOrder,
pub realm: &'a dyn ArtifactSigner,
}Expand description
The trusted settlement authority for Profile 0.2 centralized advancement.
Fields§
§trusted: &'a dyn TrustedCheckpointStore answering whether exact PCA bytes are currently trusted.
por: &'a dyn PorValidatorProof of Relationship validator for this deployment.
revocation: &'a dyn RevocationCheckRevocation state lookup.
policy: &'a dyn SettlementPolicyDeployment policy hooks (request binding, conformance, local policy).
order: &'a dyn AttenuationOrderThe attenuation order used for the non-expansion check.
realm: &'a dyn ArtifactSignerThe realm signing key for the settled artifacts.
Implementations§
Source§impl SettlementAuthority<'_>
impl SettlementAuthority<'_>
Sourcepub fn settle(
&self,
candidate_token: &str,
ctx: &SettlementContext,
) -> Result<SettledIssue, ContinuityError>
pub fn settle( &self, candidate_token: &str, ctx: &SettlementContext, ) -> Result<SettledIssue, ContinuityError>
Validates a workload-signed candidate PIC Token JWT and, on success, materializes checkpoint N+1 and issues the next settled token.
The numbered comments follow the settlement procedure of the Prover and Verifier specification (Section 3.1).
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SettlementAuthority<'a>
impl<'a> !Send for SettlementAuthority<'a>
impl<'a> !Sync for SettlementAuthority<'a>
impl<'a> !UnwindSafe for SettlementAuthority<'a>
impl<'a> Freeze for SettlementAuthority<'a>
impl<'a> Unpin for SettlementAuthority<'a>
impl<'a> UnsafeUnpin for SettlementAuthority<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more