pub struct TpmCertifyCreationCommand {
pub handles: [TpmHandle; 2],
pub qualifying_data: Tpm2bData,
pub creation_hash: Tpm2bDigest,
pub in_scheme: TpmtSignature,
pub creation_ticket: TpmtTkCreation,
}Fields§
§handles: [TpmHandle; 2]§qualifying_data: Tpm2bData§creation_hash: Tpm2bDigest§in_scheme: TpmtSignature§creation_ticket: TpmtTkCreationImplementations§
Source§impl TpmCertifyCreationCommand
impl TpmCertifyCreationCommand
Sourcepub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmCommand>
pub fn cast_frame(buf: &[u8]) -> TpmResult<&TpmCommand>
Casts a command frame into a typed wire view for this command.
§Errors
Returns Err(TpmError) when the frame is malformed or
has a different command code.
Sourcepub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmCommand>
pub fn cast_frame_mut(buf: &mut [u8]) -> TpmResult<&mut TpmCommand>
Casts a mutable command frame into a typed mutable wire view for this command.
§Errors
Returns Err(TpmError) when the frame is malformed or
has a different command code.
Trait Implementations§
Source§impl Clone for TpmCertifyCreationCommand
impl Clone for TpmCertifyCreationCommand
Source§fn clone(&self) -> TpmCertifyCreationCommand
fn clone(&self) -> TpmCertifyCreationCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TpmCertifyCreationCommand
impl Debug for TpmCertifyCreationCommand
Source§impl PartialEq for TpmCertifyCreationCommand
impl PartialEq for TpmCertifyCreationCommand
Source§fn eq(&self, other: &TpmCertifyCreationCommand) -> bool
fn eq(&self, other: &TpmCertifyCreationCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TpmFrame for TpmCertifyCreationCommand
impl TpmFrame for TpmCertifyCreationCommand
Source§impl TpmSized for TpmCertifyCreationCommand
impl TpmSized for TpmCertifyCreationCommand
impl Eq for TpmCertifyCreationCommand
impl StructuralPartialEq for TpmCertifyCreationCommand
Auto Trait Implementations§
impl Freeze for TpmCertifyCreationCommand
impl RefUnwindSafe for TpmCertifyCreationCommand
impl Send for TpmCertifyCreationCommand
impl Sync for TpmCertifyCreationCommand
impl Unpin for TpmCertifyCreationCommand
impl UnsafeUnpin for TpmCertifyCreationCommand
impl UnwindSafe for TpmCertifyCreationCommand
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