pub struct DeviceKeys {
pub device_id: Uuid,
pub dsk: HybridSigningKey,
pub dek: DeviceDek,
}Expand description
This device’s key material: a stable id, a hybrid Device Signing Key (DSK), and a Device Encryption Key (DEK).
Fields§
§device_id: UuidStable per-device identifier (UUIDv7), published in the device directory.
dsk: HybridSigningKeyHybrid device signing key — signs asset manifests (device_sig).
dek: DeviceDekDevice encryption key (KEM) — receives key wraps. Software or hardware-bound; see
DeviceDek.
Auto Trait Implementations§
impl !RefUnwindSafe for DeviceKeys
impl !UnwindSafe for DeviceKeys
impl Freeze for DeviceKeys
impl Send for DeviceKeys
impl Sync for DeviceKeys
impl Unpin for DeviceKeys
impl UnsafeUnpin for DeviceKeys
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more