pub struct OwnershipUnlockRequest {
pub unlock_mode: UnlockMode,
pub reserved: Vec<u8>,
pub nonce: u64,
pub next_owner_key: EcdsaRawPublicKey,
pub signature: EcdsaRawSignature,
}
Expand description
Request to unlock ownership of the chip.
Fields§
§unlock_mode: UnlockMode
The desired unlock mode.
reserved: Vec<u8>
Reserved for future use.
nonce: u64
The ROM_EXT nonce.
next_owner_key: EcdsaRawPublicKey
The next owner’s key (for unlock Endorsed mode).
signature: EcdsaRawSignature
A 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
fn format(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment(&self, variant: Option<&str>, field: &MemberId<'_>) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
Source§impl Annotate for OwnershipUnlockRequest
impl Annotate for OwnershipUnlockRequest
fn format(&self, _variant: Option<&str>, field: &MemberId<'_>) -> Option<Format>
fn comment( &self, _variant: Option<&str>, field: &MemberId<'_>, ) -> Option<String>
fn as_annotate(&self) -> Option<&dyn Annotate>
fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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