pub struct OwnershipUnlockRequest {
pub unlock_mode: UnlockMode,
pub din: u64,
pub reserved: Vec<u8>,
pub nonce: u64,
pub next_owner_key: EcdsaRawPublicKey,
pub hybrid_padding: Vec<u8>,
pub signature: EcdsaRawSignature,
}Expand description
Request to unlock ownership of the chip.
Fields§
§unlock_mode: UnlockModeThe desired unlock mode.
din: u64The Device Identification Number of the chip.
reserved: Vec<u8>Reserved for future use.
nonce: u64The ROM_EXT nonce.
next_owner_key: EcdsaRawPublicKeyThe next owner’s key (for unlock Endorsed mode).
hybrid_padding: Vec<u8>§signature: EcdsaRawSignatureA signature over [unlock_mode..next_owner_key] with the current owner unlock key.
Implementations§
Trait Implementations§
Source§impl Annotate for OwnershipUnlockRequest
impl Annotate for OwnershipUnlockRequest
Source§impl Debug for OwnershipUnlockRequest
impl Debug for OwnershipUnlockRequest
Source§impl Default for OwnershipUnlockRequest
impl Default for OwnershipUnlockRequest
Source§fn default() -> OwnershipUnlockRequest
fn default() -> OwnershipUnlockRequest
Returns the “default value” for a type. Read more
Source§impl Serialize for OwnershipUnlockRequest
impl Serialize for OwnershipUnlockRequest
Auto Trait Implementations§
impl Freeze for OwnershipUnlockRequest
impl RefUnwindSafe for OwnershipUnlockRequest
impl Send for OwnershipUnlockRequest
impl Sync for OwnershipUnlockRequest
impl Unpin for OwnershipUnlockRequest
impl UnwindSafe for OwnershipUnlockRequest
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