pub enum FactoryCredential {
Token(String),
DidKey(String),
Existing {
cert_name: String,
key_seed: [u8; 32],
},
}Expand description
Factory-installed credential used to bootstrap device enrollment.
Variants§
Token(String)
A pre-provisioned one-time token (most common for fleet devices).
DidKey(String)
A did:key string embedded in firmware for possession-based enrollment.
Existing
An existing certificate name + signing key seed for renewal-style enrollment.
Trait Implementations§
Source§impl Clone for FactoryCredential
impl Clone for FactoryCredential
Source§fn clone(&self) -> FactoryCredential
fn clone(&self) -> FactoryCredential
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 FactoryCredential
impl RefUnwindSafe for FactoryCredential
impl Send for FactoryCredential
impl Sync for FactoryCredential
impl Unpin for FactoryCredential
impl UnwindSafe for FactoryCredential
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