pub struct Checkpoint {
pub auth_root: AuthRoot,
pub keys: Vec<Key>,
pub attestor: Option<Thumbprint>,
}Expand description
Trusted checkpoint for partial replay.
Enables thin clients to verify only recent cozies without replaying full history from genesis.
§Security
The caller must establish trust in this checkpoint before using it. Per SPEC §6.3.3, checkpoint trust is established via signature by a key the client trusts (self, service, or cross-attestation).
Fields§
§auth_root: AuthRootThe trusted Auth State at checkpoint.
keys: Vec<Key>Active keys at checkpoint (needed to verify subsequent cozies).
attestor: Option<Thumbprint>Future: thumbprint of key that attested this checkpoint.
Not currently verified; included for forward compatibility.
Trait Implementations§
Source§impl Clone for Checkpoint
impl Clone for Checkpoint
Source§fn clone(&self) -> Checkpoint
fn clone(&self) -> Checkpoint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for Checkpoint
impl RefUnwindSafe for Checkpoint
impl Send for Checkpoint
impl Sync for Checkpoint
impl Unpin for Checkpoint
impl UnsafeUnpin for Checkpoint
impl UnwindSafe for Checkpoint
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