TpmCommandBuild

Trait TpmCommandBuild 

Source
pub trait TpmCommandBuild {
    // Required methods
    fn build_handles(&self, writer: &mut TpmWriter<'_>) -> TpmResult<()>;
    fn build_parameters(&self, writer: &mut TpmWriter<'_>) -> TpmResult<()>;
}
Expand description

A trait for building command bodies in separate handle and parameter sections.

Required Methods§

Source

fn build_handles(&self, writer: &mut TpmWriter<'_>) -> TpmResult<()>

Builds the handle area of the command.

§Errors
  • TpmErrorKind::BuildOverflow if writer would run out of space.
Source

fn build_parameters(&self, writer: &mut TpmWriter<'_>) -> TpmResult<()>

Builds the parameter area of the command.

§Errors
  • TpmErrorKind::BuildCapacity if the object contains a value exceeding capacity limit.
  • TpmErrorKind::BuildOverflow if writer would run out of space.

Implementors§

Source§

impl TpmCommandBuild for TpmAcGetCapabilityCommand

Source§

impl TpmCommandBuild for TpmAcSendCommand

Source§

impl TpmCommandBuild for TpmActSetTimeoutCommand

Source§

impl TpmCommandBuild for TpmActivateCredentialCommand

Source§

impl TpmCommandBuild for TpmCertifyCommand

Source§

impl TpmCommandBuild for TpmCertifyCreationCommand

Source§

impl TpmCommandBuild for TpmChangeEpsCommand

Source§

impl TpmCommandBuild for TpmChangePpsCommand

Source§

impl TpmCommandBuild for TpmClearCommand

Source§

impl TpmCommandBuild for TpmClearControlCommand

Source§

impl TpmCommandBuild for TpmClockRateAdjustCommand

Source§

impl TpmCommandBuild for TpmClockSetCommand

Source§

impl TpmCommandBuild for TpmCommitCommand

Source§

impl TpmCommandBuild for TpmContextLoadCommand

Source§

impl TpmCommandBuild for TpmContextSaveCommand

Source§

impl TpmCommandBuild for TpmCreateCommand

Source§

impl TpmCommandBuild for TpmCreateLoadedCommand

Source§

impl TpmCommandBuild for TpmCreatePrimaryCommand

Source§

impl TpmCommandBuild for TpmDictionaryAttackLockResetCommand

Source§

impl TpmCommandBuild for TpmDictionaryAttackParametersCommand

Source§

impl TpmCommandBuild for TpmDuplicateCommand

Source§

impl TpmCommandBuild for TpmEcEphemeralCommand

Source§

impl TpmCommandBuild for TpmEccDecryptCommand

Source§

impl TpmCommandBuild for TpmEccEncryptCommand

Source§

impl TpmCommandBuild for TpmEccParametersCommand

Source§

impl TpmCommandBuild for TpmEcdhKeyGenCommand

Source§

impl TpmCommandBuild for TpmEcdhZGenCommand

Source§

impl TpmCommandBuild for TpmEncryptDecrypt2Command

Source§

impl TpmCommandBuild for TpmEncryptDecryptCommand

Source§

impl TpmCommandBuild for TpmEventSequenceCompleteCommand

Source§

impl TpmCommandBuild for TpmEvictControlCommand

Source§

impl TpmCommandBuild for TpmFieldUpgradeDataCommand

Source§

impl TpmCommandBuild for TpmFieldUpgradeStartCommand

Source§

impl TpmCommandBuild for TpmFirmwareReadCommand

Source§

impl TpmCommandBuild for TpmFlushContextCommand

Source§

impl TpmCommandBuild for TpmGetCapabilityCommand

Source§

impl TpmCommandBuild for TpmGetCommandAuditDigestCommand

Source§

impl TpmCommandBuild for TpmGetRandomCommand

Source§

impl TpmCommandBuild for TpmGetSessionAuditDigestCommand

Source§

impl TpmCommandBuild for TpmGetTestResultCommand

Source§

impl TpmCommandBuild for TpmGetTimeCommand

Source§

impl TpmCommandBuild for TpmHashCommand

Source§

impl TpmCommandBuild for TpmHashSequenceStartCommand

Source§

impl TpmCommandBuild for TpmHierarchyChangeAuthCommand

Source§

impl TpmCommandBuild for TpmHierarchyControlCommand

Source§

impl TpmCommandBuild for TpmHmacCommand

Source§

impl TpmCommandBuild for TpmHmacStartCommand

Source§

impl TpmCommandBuild for TpmImportCommand

Source§

impl TpmCommandBuild for TpmIncrementalSelfTestCommand

Source§

impl TpmCommandBuild for TpmLoadCommand

Source§

impl TpmCommandBuild for TpmLoadExternalCommand

Source§

impl TpmCommandBuild for TpmMakeCredentialCommand

Source§

impl TpmCommandBuild for TpmNvCertifyCommand

Source§

impl TpmCommandBuild for TpmNvChangeAuthCommand

Source§

impl TpmCommandBuild for TpmNvDefineSpace2Command

Source§

impl TpmCommandBuild for TpmNvDefineSpaceCommand

Source§

impl TpmCommandBuild for TpmNvExtendCommand

Source§

impl TpmCommandBuild for TpmNvGlobalWriteLockCommand

Source§

impl TpmCommandBuild for TpmNvIncrementCommand

Source§

impl TpmCommandBuild for TpmNvReadCommand

Source§

impl TpmCommandBuild for TpmNvReadLockCommand

Source§

impl TpmCommandBuild for TpmNvReadPublic2Command

Source§

impl TpmCommandBuild for TpmNvReadPublicCommand

Source§

impl TpmCommandBuild for TpmNvSetBitsCommand

Source§

impl TpmCommandBuild for TpmNvUndefineSpaceCommand

Source§

impl TpmCommandBuild for TpmNvUndefineSpaceSpecialCommand

Source§

impl TpmCommandBuild for TpmNvWriteCommand

Source§

impl TpmCommandBuild for TpmNvWriteLockCommand

Source§

impl TpmCommandBuild for TpmObjectChangeAuthCommand

Source§

impl TpmCommandBuild for TpmPcrAllocateCommand

Source§

impl TpmCommandBuild for TpmPcrEventCommand

Source§

impl TpmCommandBuild for TpmPcrExtendCommand

Source§

impl TpmCommandBuild for TpmPcrReadCommand

Source§

impl TpmCommandBuild for TpmPcrResetCommand

Source§

impl TpmCommandBuild for TpmPcrSetAuthPolicyCommand

Source§

impl TpmCommandBuild for TpmPcrSetAuthValueCommand

Source§

impl TpmCommandBuild for TpmPolicyAcSendSelectCommand

Source§

impl TpmCommandBuild for TpmPolicyAuthValueCommand

Source§

impl TpmCommandBuild for TpmPolicyAuthorizeCommand

Source§

impl TpmCommandBuild for TpmPolicyAuthorizeNvCommand

Source§

impl TpmCommandBuild for TpmPolicyCapabilityCommand

Source§

impl TpmCommandBuild for TpmPolicyCommandCodeCommand

Source§

impl TpmCommandBuild for TpmPolicyCounterTimerCommand

Source§

impl TpmCommandBuild for TpmPolicyCpHashCommand

Source§

impl TpmCommandBuild for TpmPolicyDuplicationSelectCommand

Source§

impl TpmCommandBuild for TpmPolicyGetDigestCommand

Source§

impl TpmCommandBuild for TpmPolicyLocalityCommand

Source§

impl TpmCommandBuild for TpmPolicyNameHashCommand

Source§

impl TpmCommandBuild for TpmPolicyNvCommand

Source§

impl TpmCommandBuild for TpmPolicyNvWrittenCommand

Source§

impl TpmCommandBuild for TpmPolicyOrCommand

Source§

impl TpmCommandBuild for TpmPolicyParametersCommand

Source§

impl TpmCommandBuild for TpmPolicyPasswordCommand

Source§

impl TpmCommandBuild for TpmPolicyPcrCommand

Source§

impl TpmCommandBuild for TpmPolicyPhysicalPresenceCommand

Source§

impl TpmCommandBuild for TpmPolicyRestartCommand

Source§

impl TpmCommandBuild for TpmPolicySecretCommand

Source§

impl TpmCommandBuild for TpmPolicySignedCommand

Source§

impl TpmCommandBuild for TpmPolicyTemplateCommand

Source§

impl TpmCommandBuild for TpmPolicyTicketCommand

Source§

impl TpmCommandBuild for TpmPolicyTransportSpdmCommand

Source§

impl TpmCommandBuild for TpmPpCommandsCommand

Source§

impl TpmCommandBuild for TpmQuoteCommand

Source§

impl TpmCommandBuild for TpmReadClockCommand

Source§

impl TpmCommandBuild for TpmReadOnlyControlCommand

Source§

impl TpmCommandBuild for TpmReadPublicCommand

Source§

impl TpmCommandBuild for TpmRewrapCommand

Source§

impl TpmCommandBuild for TpmRsaDecryptCommand

Source§

impl TpmCommandBuild for TpmRsaEncryptCommand

Source§

impl TpmCommandBuild for TpmSelfTestCommand

Source§

impl TpmCommandBuild for TpmSequenceCompleteCommand

Source§

impl TpmCommandBuild for TpmSequenceUpdateCommand

Source§

impl TpmCommandBuild for TpmSetAlgorithmSetCommand

Source§

impl TpmCommandBuild for TpmSetCommandCodeAuditStatusCommand

Source§

impl TpmCommandBuild for TpmSetPrimaryPolicyCommand

Source§

impl TpmCommandBuild for TpmShutdownCommand

Source§

impl TpmCommandBuild for TpmSignCommand

Source§

impl TpmCommandBuild for TpmStartAuthSessionCommand

Source§

impl TpmCommandBuild for TpmStartupCommand

Source§

impl TpmCommandBuild for TpmStirRandomCommand

Source§

impl TpmCommandBuild for TpmTestParmsCommand

Source§

impl TpmCommandBuild for TpmUnsealCommand

Source§

impl TpmCommandBuild for TpmVendorTcgTestCommand

Source§

impl TpmCommandBuild for TpmVerifySignatureCommand

Source§

impl TpmCommandBuild for TpmZGen2PhaseCommand