TpmHeader

Trait TpmHeader 

Source
pub trait TpmHeader:
    TpmBuild
    + TpmParse
    + Debug {
    const COMMAND: TpmCc;
    const NO_SESSIONS: bool;
    const WITH_SESSIONS: bool;
    const HANDLES: usize;
}
Expand description

A trait for TPM commands and responses that provides header information.

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl TpmHeader for TpmAcGetCapabilityCommand

Source§

const COMMAND: TpmCc = TpmCc::AcGetCapability

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmAcGetCapabilityResponse

Source§

const COMMAND: TpmCc = TpmCc::AcGetCapability

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmAcSendCommand

Source§

const COMMAND: TpmCc = TpmCc::AcSend

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 3usize

Source§

impl TpmHeader for TpmAcSendResponse

Source§

const COMMAND: TpmCc = TpmCc::AcSend

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmActSetTimeoutCommand

Source§

const COMMAND: TpmCc = TpmCc::ActSetTimeout

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmActSetTimeoutResponse

Source§

const COMMAND: TpmCc = TpmCc::ActSetTimeout

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmActivateCredentialCommand

Source§

const COMMAND: TpmCc = TpmCc::ActivateCredential

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmActivateCredentialResponse

Source§

const COMMAND: TpmCc = TpmCc::ActivateCredential

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmCertifyCommand

Source§

const COMMAND: TpmCc = TpmCc::Certify

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmCertifyCreationCommand

Source§

const COMMAND: TpmCc = TpmCc::CertifyCreation

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmCertifyCreationResponse

Source§

const COMMAND: TpmCc = TpmCc::CertifyCreation

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmCertifyResponse

Source§

const COMMAND: TpmCc = TpmCc::Certify

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmChangeEpsCommand

Source§

const COMMAND: TpmCc = TpmCc::ChangeEps

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmChangeEpsResponse

Source§

const COMMAND: TpmCc = TpmCc::ChangeEps

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmChangePpsCommand

Source§

const COMMAND: TpmCc = TpmCc::ChangePps

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmChangePpsResponse

Source§

const COMMAND: TpmCc = TpmCc::ChangePps

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmClearCommand

Source§

const COMMAND: TpmCc = TpmCc::Clear

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmClearControlCommand

Source§

const COMMAND: TpmCc = TpmCc::ClearControl

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmClearControlResponse

Source§

const COMMAND: TpmCc = TpmCc::ClearControl

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmClearResponse

Source§

const COMMAND: TpmCc = TpmCc::Clear

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmClockRateAdjustCommand

Source§

const COMMAND: TpmCc = TpmCc::ClockRateAdjust

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmClockRateAdjustResponse

Source§

const COMMAND: TpmCc = TpmCc::ClockRateAdjust

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmClockSetCommand

Source§

const COMMAND: TpmCc = TpmCc::ClockSet

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmClockSetResponse

Source§

const COMMAND: TpmCc = TpmCc::ClockSet

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmCommitCommand

Source§

const COMMAND: TpmCc = TpmCc::Commit

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmCommitResponse

Source§

const COMMAND: TpmCc = TpmCc::Commit

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmContextLoadCommand

Source§

const COMMAND: TpmCc = TpmCc::ContextLoad

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmContextLoadResponse

Source§

const COMMAND: TpmCc = TpmCc::ContextLoad

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmContextSaveCommand

Source§

const COMMAND: TpmCc = TpmCc::ContextSave

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmContextSaveResponse

Source§

const COMMAND: TpmCc = TpmCc::ContextSave

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmCreateCommand

Source§

const COMMAND: TpmCc = TpmCc::Create

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmCreateLoadedCommand

Source§

const COMMAND: TpmCc = TpmCc::CreateLoaded

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmCreateLoadedResponse

Source§

const COMMAND: TpmCc = TpmCc::CreateLoaded

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmCreatePrimaryCommand

Source§

const COMMAND: TpmCc = TpmCc::CreatePrimary

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmCreatePrimaryResponse

Source§

const COMMAND: TpmCc = TpmCc::CreatePrimary

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmCreateResponse

Source§

const COMMAND: TpmCc = TpmCc::Create

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmDictionaryAttackLockResetCommand

Source§

const COMMAND: TpmCc = TpmCc::DictionaryAttackLockReset

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmDictionaryAttackLockResetResponse

Source§

const COMMAND: TpmCc = TpmCc::DictionaryAttackLockReset

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmDictionaryAttackParametersCommand

Source§

const COMMAND: TpmCc = TpmCc::DictionaryAttackParameters

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmDictionaryAttackParametersResponse

Source§

const COMMAND: TpmCc = TpmCc::DictionaryAttackParameters

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmDuplicateCommand

Source§

const COMMAND: TpmCc = TpmCc::Duplicate

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmDuplicateResponse

Source§

const COMMAND: TpmCc = TpmCc::Duplicate

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmEcEphemeralCommand

Source§

const COMMAND: TpmCc = TpmCc::EcEphemeral

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmEcEphemeralResponse

Source§

const COMMAND: TpmCc = TpmCc::EcEphemeral

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmEccDecryptCommand

Source§

const COMMAND: TpmCc = TpmCc::EccDecrypt

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmEccDecryptResponse

Source§

const COMMAND: TpmCc = TpmCc::EccDecrypt

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmEccEncryptCommand

Source§

const COMMAND: TpmCc = TpmCc::EccEncrypt

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmEccEncryptResponse

Source§

const COMMAND: TpmCc = TpmCc::EccEncrypt

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmEccParametersCommand

Source§

const COMMAND: TpmCc = TpmCc::EccParameters

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmEccParametersResponse

Source§

const COMMAND: TpmCc = TpmCc::EccParameters

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmEcdhKeyGenCommand

Source§

const COMMAND: TpmCc = TpmCc::EcdhKeyGen

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmEcdhKeyGenResponse

Source§

const COMMAND: TpmCc = TpmCc::EcdhKeyGen

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmEcdhZGenCommand

Source§

const COMMAND: TpmCc = TpmCc::EcdhZGen

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmEcdhZGenResponse

Source§

const COMMAND: TpmCc = TpmCc::EcdhZGen

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmEncryptDecrypt2Command

Source§

const COMMAND: TpmCc = TpmCc::EncryptDecrypt2

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmEncryptDecrypt2Response

Source§

const COMMAND: TpmCc = TpmCc::EncryptDecrypt2

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmEncryptDecryptCommand

Source§

const COMMAND: TpmCc = TpmCc::EncryptDecrypt

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmEncryptDecryptResponse

Source§

const COMMAND: TpmCc = TpmCc::EncryptDecrypt

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmEventSequenceCompleteCommand

Source§

const COMMAND: TpmCc = TpmCc::EventSequenceComplete

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmEventSequenceCompleteResponse

Source§

const COMMAND: TpmCc = TpmCc::EventSequenceComplete

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmEvictControlCommand

Source§

const COMMAND: TpmCc = TpmCc::EvictControl

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmEvictControlResponse

Source§

const COMMAND: TpmCc = TpmCc::EvictControl

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmFieldUpgradeDataCommand

Source§

const COMMAND: TpmCc = TpmCc::FieldUpgradeData

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmFieldUpgradeDataResponse

Source§

const COMMAND: TpmCc = TpmCc::FieldUpgradeData

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmFieldUpgradeStartCommand

Source§

const COMMAND: TpmCc = TpmCc::FieldUpgradeStart

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmFieldUpgradeStartResponse

Source§

const COMMAND: TpmCc = TpmCc::FieldUpgradeStart

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmFirmwareReadCommand

Source§

const COMMAND: TpmCc = TpmCc::FirmwareRead

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmFirmwareReadResponse

Source§

const COMMAND: TpmCc = TpmCc::FirmwareRead

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmFlushContextCommand

Source§

const COMMAND: TpmCc = TpmCc::FlushContext

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmFlushContextResponse

Source§

const COMMAND: TpmCc = TpmCc::FlushContext

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmGetCapabilityCommand

Source§

const COMMAND: TpmCc = TpmCc::GetCapability

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmGetCapabilityResponse

Source§

const COMMAND: TpmCc = TpmCc::GetCapability

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmGetCommandAuditDigestCommand

Source§

const COMMAND: TpmCc = TpmCc::GetCommandAuditDigest

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmGetCommandAuditDigestResponse

Source§

const COMMAND: TpmCc = TpmCc::GetCommandAuditDigest

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmGetRandomCommand

Source§

const COMMAND: TpmCc = TpmCc::GetRandom

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmGetRandomResponse

Source§

const COMMAND: TpmCc = TpmCc::GetRandom

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmGetSessionAuditDigestCommand

Source§

const COMMAND: TpmCc = TpmCc::GetSessionAuditDigest

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 3usize

Source§

impl TpmHeader for TpmGetSessionAuditDigestResponse

Source§

const COMMAND: TpmCc = TpmCc::GetSessionAuditDigest

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmGetTestResultCommand

Source§

const COMMAND: TpmCc = TpmCc::GetTestResult

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmGetTestResultResponse

Source§

const COMMAND: TpmCc = TpmCc::GetTestResult

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmGetTimeCommand

Source§

const COMMAND: TpmCc = TpmCc::GetTime

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmGetTimeResponse

Source§

const COMMAND: TpmCc = TpmCc::GetTime

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmHashCommand

Source§

const COMMAND: TpmCc = TpmCc::Hash

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmHashResponse

Source§

const COMMAND: TpmCc = TpmCc::Hash

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmHashSequenceStartCommand

Source§

const COMMAND: TpmCc = TpmCc::HashSequenceStart

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmHashSequenceStartResponse

Source§

const COMMAND: TpmCc = TpmCc::HashSequenceStart

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmHierarchyChangeAuthCommand

Source§

const COMMAND: TpmCc = TpmCc::HierarchyChangeAuth

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmHierarchyChangeAuthResponse

Source§

const COMMAND: TpmCc = TpmCc::HierarchyChangeAuth

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmHierarchyControlCommand

Source§

const COMMAND: TpmCc = TpmCc::HierarchyControl

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmHierarchyControlResponse

Source§

const COMMAND: TpmCc = TpmCc::HierarchyControl

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmHmacCommand

Source§

const COMMAND: TpmCc = TpmCc::Hmac

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmHmacResponse

Source§

const COMMAND: TpmCc = TpmCc::Hmac

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmHmacStartCommand

Source§

const COMMAND: TpmCc = TpmCc::HmacStart

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmHmacStartResponse

Source§

const COMMAND: TpmCc = TpmCc::HmacStart

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmImportCommand

Source§

const COMMAND: TpmCc = TpmCc::Import

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmImportResponse

Source§

const COMMAND: TpmCc = TpmCc::Import

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmIncrementalSelfTestCommand

Source§

const COMMAND: TpmCc = TpmCc::IncrementalSelfTest

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmIncrementalSelfTestResponse

Source§

const COMMAND: TpmCc = TpmCc::IncrementalSelfTest

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmLoadCommand

Source§

const COMMAND: TpmCc = TpmCc::Load

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmLoadExternalCommand

Source§

const COMMAND: TpmCc = TpmCc::LoadExternal

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmLoadExternalResponse

Source§

const COMMAND: TpmCc = TpmCc::LoadExternal

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmLoadResponse

Source§

const COMMAND: TpmCc = TpmCc::Load

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmMakeCredentialCommand

Source§

const COMMAND: TpmCc = TpmCc::MakeCredential

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmMakeCredentialResponse

Source§

const COMMAND: TpmCc = TpmCc::MakeCredential

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvCertifyCommand

Source§

const COMMAND: TpmCc = TpmCc::NvCertify

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 3usize

Source§

impl TpmHeader for TpmNvCertifyResponse

Source§

const COMMAND: TpmCc = TpmCc::NvCertify

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvChangeAuthCommand

Source§

const COMMAND: TpmCc = TpmCc::NvChangeAuth

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmNvChangeAuthResponse

Source§

const COMMAND: TpmCc = TpmCc::NvChangeAuth

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvDefineSpace2Command

Source§

const COMMAND: TpmCc = TpmCc::NvDefineSpace2

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmNvDefineSpace2Response

Source§

const COMMAND: TpmCc = TpmCc::NvDefineSpace2

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvDefineSpaceCommand

Source§

const COMMAND: TpmCc = TpmCc::NvDefineSpace

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmNvDefineSpaceResponse

Source§

const COMMAND: TpmCc = TpmCc::NvDefineSpace

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvExtendCommand

Source§

const COMMAND: TpmCc = TpmCc::NvExtend

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmNvExtendResponse

Source§

const COMMAND: TpmCc = TpmCc::NvExtend

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvGlobalWriteLockCommand

Source§

const COMMAND: TpmCc = TpmCc::NvGlobalWriteLock

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmNvGlobalWriteLockResponse

Source§

const COMMAND: TpmCc = TpmCc::NvGlobalWriteLock

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvIncrementCommand

Source§

const COMMAND: TpmCc = TpmCc::NvIncrement

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmNvIncrementResponse

Source§

const COMMAND: TpmCc = TpmCc::NvIncrement

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvReadCommand

Source§

const COMMAND: TpmCc = TpmCc::NvRead

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmNvReadLockCommand

Source§

const COMMAND: TpmCc = TpmCc::NvReadLock

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmNvReadLockResponse

Source§

const COMMAND: TpmCc = TpmCc::NvReadLock

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvReadPublic2Command

Source§

const COMMAND: TpmCc = TpmCc::NvReadPublic2

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmNvReadPublic2Response

Source§

const COMMAND: TpmCc = TpmCc::NvReadPublic2

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvReadPublicCommand

Source§

const COMMAND: TpmCc = TpmCc::NvReadPublic

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmNvReadPublicResponse

Source§

const COMMAND: TpmCc = TpmCc::NvReadPublic

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvReadResponse

Source§

const COMMAND: TpmCc = TpmCc::NvRead

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvSetBitsCommand

Source§

const COMMAND: TpmCc = TpmCc::NvSetBits

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmNvSetBitsResponse

Source§

const COMMAND: TpmCc = TpmCc::NvSetBits

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvUndefineSpaceCommand

Source§

const COMMAND: TpmCc = TpmCc::NvUndefineSpace

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmNvUndefineSpaceResponse

Source§

const COMMAND: TpmCc = TpmCc::NvUndefineSpace

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvUndefineSpaceSpecialCommand

Source§

const COMMAND: TpmCc = TpmCc::NvUndefineSpaceSpecial

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmNvUndefineSpaceSpecialResponse

Source§

const COMMAND: TpmCc = TpmCc::NvUndefineSpaceSpecial

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvWriteCommand

Source§

const COMMAND: TpmCc = TpmCc::NvWrite

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmNvWriteLockCommand

Source§

const COMMAND: TpmCc = TpmCc::NvWriteLock

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmNvWriteLockResponse

Source§

const COMMAND: TpmCc = TpmCc::NvWriteLock

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmNvWriteResponse

Source§

const COMMAND: TpmCc = TpmCc::NvWrite

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmObjectChangeAuthCommand

Source§

const COMMAND: TpmCc = TpmCc::ObjectChangeAuth

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmObjectChangeAuthResponse

Source§

const COMMAND: TpmCc = TpmCc::ObjectChangeAuth

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPcrAllocateCommand

Source§

const COMMAND: TpmCc = TpmCc::PcrAllocate

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPcrAllocateResponse

Source§

const COMMAND: TpmCc = TpmCc::PcrAllocate

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPcrEventCommand

Source§

const COMMAND: TpmCc = TpmCc::PcrEvent

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPcrEventResponse

Source§

const COMMAND: TpmCc = TpmCc::PcrEvent

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPcrExtendCommand

Source§

const COMMAND: TpmCc = TpmCc::PcrExtend

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPcrExtendResponse

Source§

const COMMAND: TpmCc = TpmCc::PcrExtend

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPcrReadCommand

Source§

const COMMAND: TpmCc = TpmCc::PcrRead

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPcrReadResponse

Source§

const COMMAND: TpmCc = TpmCc::PcrRead

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPcrResetCommand

Source§

const COMMAND: TpmCc = TpmCc::PcrReset

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPcrResetResponse

Source§

const COMMAND: TpmCc = TpmCc::PcrReset

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPcrSetAuthPolicyCommand

Source§

const COMMAND: TpmCc = TpmCc::PcrSetAuthPolicy

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPcrSetAuthPolicyResponse

Source§

const COMMAND: TpmCc = TpmCc::PcrSetAuthPolicy

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPcrSetAuthValueCommand

Source§

const COMMAND: TpmCc = TpmCc::PcrSetAuthValue

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPcrSetAuthValueResponse

Source§

const COMMAND: TpmCc = TpmCc::PcrSetAuthValue

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyAcSendSelectCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyAcSendSelect

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyAcSendSelectResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyAcSendSelect

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyAuthValueCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyAuthValue

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyAuthValueResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyAuthValue

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyAuthorizeCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyAuthorize

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyAuthorizeNvCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyAuthorizeNv

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 3usize

Source§

impl TpmHeader for TpmPolicyAuthorizeNvResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyAuthorizeNv

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyAuthorizeResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyAuthorize

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyCapabilityCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyCapability

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyCapabilityResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyCapability

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyCommandCodeCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyCommandCode

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyCommandCodeResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyCommandCode

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyCounterTimerCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyCounterTimer

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyCounterTimerResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyCounterTimer

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyCpHashCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyCpHash

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyCpHashResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyCpHash

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyDuplicationSelectCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyDuplicationSelect

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyDuplicationSelectResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyDuplicationSelect

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyGetDigestCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyGetDigest

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyGetDigestResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyGetDigest

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyLocalityCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyLocality

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyLocalityResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyLocality

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyNameHashCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyNameHash

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyNameHashResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyNameHash

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyNvCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyNv

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 3usize

Source§

impl TpmHeader for TpmPolicyNvResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyNv

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyNvWrittenCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyNvWritten

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyNvWrittenResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyNvWritten

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyOrCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyOR

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyOrResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyOR

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyParametersCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyParameters

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyParametersResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyParameters

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyPasswordCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyPassword

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyPasswordResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyPassword

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyPcrCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyPcr

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyPcrResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyPcr

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyPhysicalPresenceCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyPhysicalPresence

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyPhysicalPresenceResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyPhysicalPresence

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyRestartCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyRestart

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyRestartResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyRestart

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicySecretCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicySecret

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmPolicySecretResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicySecret

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicySignedCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicySigned

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmPolicySignedResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicySigned

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyTemplateCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyTemplate

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyTemplateResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyTemplate

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyTicketCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyTicket

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyTicketResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyTicket

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPolicyTransportSpdmCommand

Source§

const COMMAND: TpmCc = TpmCc::PolicyTransportSpdm

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPolicyTransportSpdmResponse

Source§

const COMMAND: TpmCc = TpmCc::PolicyTransportSpdm

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmPpCommandsCommand

Source§

const COMMAND: TpmCc = TpmCc::PpCommands

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmPpCommandsResponse

Source§

const COMMAND: TpmCc = TpmCc::PpCommands

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmQuoteCommand

Source§

const COMMAND: TpmCc = TpmCc::Quote

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmQuoteResponse

Source§

const COMMAND: TpmCc = TpmCc::Quote

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmReadClockCommand

Source§

const COMMAND: TpmCc = TpmCc::ReadClock

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmReadClockResponse

Source§

const COMMAND: TpmCc = TpmCc::ReadClock

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmReadOnlyControlCommand

Source§

const COMMAND: TpmCc = TpmCc::ReadOnlyControl

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmReadOnlyControlResponse

Source§

const COMMAND: TpmCc = TpmCc::ReadOnlyControl

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmReadPublicCommand

Source§

const COMMAND: TpmCc = TpmCc::ReadPublic

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmReadPublicResponse

Source§

const COMMAND: TpmCc = TpmCc::ReadPublic

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmRewrapCommand

Source§

const COMMAND: TpmCc = TpmCc::Rewrap

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmRewrapResponse

Source§

const COMMAND: TpmCc = TpmCc::Rewrap

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmRsaDecryptCommand

Source§

const COMMAND: TpmCc = TpmCc::RsaDecrypt

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmRsaDecryptResponse

Source§

const COMMAND: TpmCc = TpmCc::RsaDecrypt

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmRsaEncryptCommand

Source§

const COMMAND: TpmCc = TpmCc::RsaEncrypt

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmRsaEncryptResponse

Source§

const COMMAND: TpmCc = TpmCc::RsaEncrypt

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmSelfTestCommand

Source§

const COMMAND: TpmCc = TpmCc::SelfTest

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmSelfTestResponse

Source§

const COMMAND: TpmCc = TpmCc::SelfTest

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmSequenceCompleteCommand

Source§

const COMMAND: TpmCc = TpmCc::SequenceComplete

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmSequenceCompleteResponse

Source§

const COMMAND: TpmCc = TpmCc::SequenceComplete

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmSequenceUpdateCommand

Source§

const COMMAND: TpmCc = TpmCc::SequenceUpdate

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmSequenceUpdateResponse

Source§

const COMMAND: TpmCc = TpmCc::SequenceUpdate

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmSetAlgorithmSetCommand

Source§

const COMMAND: TpmCc = TpmCc::SetAlgorithmSet

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmSetAlgorithmSetResponse

Source§

const COMMAND: TpmCc = TpmCc::SetAlgorithmSet

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmSetCommandCodeAuditStatusCommand

Source§

const COMMAND: TpmCc = TpmCc::SetCommandCodeAuditStatus

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmSetCommandCodeAuditStatusResponse

Source§

const COMMAND: TpmCc = TpmCc::SetCommandCodeAuditStatus

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmSetPrimaryPolicyCommand

Source§

const COMMAND: TpmCc = TpmCc::SetPrimaryPolicy

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmSetPrimaryPolicyResponse

Source§

const COMMAND: TpmCc = TpmCc::SetPrimaryPolicy

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmShutdownCommand

Source§

const COMMAND: TpmCc = TpmCc::Shutdown

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmShutdownResponse

Source§

const COMMAND: TpmCc = TpmCc::Shutdown

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmSignCommand

Source§

const COMMAND: TpmCc = TpmCc::Sign

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmSignResponse

Source§

const COMMAND: TpmCc = TpmCc::Sign

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmStartAuthSessionCommand

Source§

const COMMAND: TpmCc = TpmCc::StartAuthSession

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 2usize

Source§

impl TpmHeader for TpmStartAuthSessionResponse

Source§

const COMMAND: TpmCc = TpmCc::StartAuthSession

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmStartupCommand

Source§

const COMMAND: TpmCc = TpmCc::Startup

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmStartupResponse

Source§

const COMMAND: TpmCc = TpmCc::Startup

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmStirRandomCommand

Source§

const COMMAND: TpmCc = TpmCc::StirRandom

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmStirRandomResponse

Source§

const COMMAND: TpmCc = TpmCc::StirRandom

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmTestParmsCommand

Source§

const COMMAND: TpmCc = TpmCc::TestParms

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmTestParmsResponse

Source§

const COMMAND: TpmCc = TpmCc::TestParms

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmUnsealCommand

Source§

const COMMAND: TpmCc = TpmCc::Unseal

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmUnsealResponse

Source§

const COMMAND: TpmCc = TpmCc::Unseal

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmVendorTcgTestCommand

Source§

const COMMAND: TpmCc = TpmCc::VendorTcgTest

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmVendorTcgTestResponse

Source§

const COMMAND: TpmCc = TpmCc::VendorTcgTest

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmVerifySignatureCommand

Source§

const COMMAND: TpmCc = TpmCc::VerifySignature

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmVerifySignatureResponse

Source§

const COMMAND: TpmCc = TpmCc::VerifySignature

Source§

const NO_SESSIONS: bool = true

Source§

const WITH_SESSIONS: bool = false

Source§

const HANDLES: usize = 0usize

Source§

impl TpmHeader for TpmZGen2PhaseCommand

Source§

const COMMAND: TpmCc = TpmCc::ZGen2Phase

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 1usize

Source§

impl TpmHeader for TpmZGen2PhaseResponse

Source§

const COMMAND: TpmCc = TpmCc::ZGen2Phase

Source§

const NO_SESSIONS: bool = false

Source§

const WITH_SESSIONS: bool = true

Source§

const HANDLES: usize = 0usize