pub struct InMemoryDekShredder { /* private fields */ }Expand description
In-memory DekShredder — deterministic Ed25519-style placeholder
attestation for tests and the Tier-0 harness. All paths emit
RuntimeSignatureClass::Ed25519 regardless of compliance tier.
Implementations§
Source§impl InMemoryDekShredder
impl InMemoryDekShredder
Trait Implementations§
Source§impl Debug for InMemoryDekShredder
impl Debug for InMemoryDekShredder
Source§impl Default for InMemoryDekShredder
impl Default for InMemoryDekShredder
Source§fn default() -> InMemoryDekShredder
fn default() -> InMemoryDekShredder
Returns the “default value” for a type. Read more
Source§impl DekShredder for InMemoryDekShredder
impl DekShredder for InMemoryDekShredder
Source§fn shred(&mut self, dek_id: DekId) -> Result<DekShredAttestation, DekShredError>
fn shred(&mut self, dek_id: DekId) -> Result<DekShredAttestation, DekShredError>
Drop plaintext DEK material for
dek_id and return an
attestation payload the observer folds into the
UserErasureCompleted.attestation_bytes field. See the trait-
level idempotency contract for replay semantics.Source§fn shred_with_regions(
&mut self,
dek_id: DekId,
shred_tick: Tick,
) -> Result<ShredResult, DekShredError>
fn shred_with_regions( &mut self, dek_id: DekId, shred_tick: Tick, ) -> Result<ShredResult, DekShredError>
Multi-region 2PC variant. Real backends
override this to drive a multi-KMS / multi-region shred and return
the per-region progress entries so the cascade observer can emit
matching
PerRegionErasureProgress events. Read moreAuto Trait Implementations§
impl Freeze for InMemoryDekShredder
impl RefUnwindSafe for InMemoryDekShredder
impl Send for InMemoryDekShredder
impl Sync for InMemoryDekShredder
impl Unpin for InMemoryDekShredder
impl UnsafeUnpin for InMemoryDekShredder
impl UnwindSafe for InMemoryDekShredder
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