pub enum TpmCommandValue {
Show 125 variants
NvUndefineSpaceSpecial(TpmNvUndefineSpaceSpecialCommand),
EvictControl(TpmEvictControlCommand),
HierarchyControl(TpmHierarchyControlCommand),
NvUndefineSpace(TpmNvUndefineSpaceCommand),
ChangeEps(TpmChangeEpsCommand),
ChangePps(TpmChangePpsCommand),
Clear(TpmClearCommand),
ClearControl(TpmClearControlCommand),
ClockSet(TpmClockSetCommand),
HierarchyChangeAuth(TpmHierarchyChangeAuthCommand),
NvDefineSpace(TpmNvDefineSpaceCommand),
PcrAllocate(TpmPcrAllocateCommand),
PcrSetAuthPolicy(TpmPcrSetAuthPolicyCommand),
PpCommands(TpmPpCommandsCommand),
SetPrimaryPolicy(TpmSetPrimaryPolicyCommand),
FieldUpgradeStart(TpmFieldUpgradeStartCommand),
ClockRateAdjust(TpmClockRateAdjustCommand),
CreatePrimary(TpmCreatePrimaryCommand),
NvGlobalWriteLock(TpmNvGlobalWriteLockCommand),
GetCommandAuditDigest(TpmGetCommandAuditDigestCommand),
NvIncrement(TpmNvIncrementCommand),
NvSetBits(TpmNvSetBitsCommand),
NvExtend(TpmNvExtendCommand),
NvWrite(TpmNvWriteCommand),
NvWriteLock(TpmNvWriteLockCommand),
DictionaryAttackLockReset(TpmDictionaryAttackLockResetCommand),
DictionaryAttackParameters(TpmDictionaryAttackParametersCommand),
NvChangeAuth(TpmNvChangeAuthCommand),
PcrEvent(TpmPcrEventCommand),
PcrReset(TpmPcrResetCommand),
SequenceComplete(TpmSequenceCompleteCommand),
SetAlgorithmSet(TpmSetAlgorithmSetCommand),
SetCommandCodeAuditStatus(TpmSetCommandCodeAuditStatusCommand),
FieldUpgradeData(TpmFieldUpgradeDataCommand),
IncrementalSelfTest(TpmIncrementalSelfTestCommand),
SelfTest(TpmSelfTestCommand),
Startup(TpmStartupCommand),
Shutdown(TpmShutdownCommand),
StirRandom(TpmStirRandomCommand),
ActivateCredential(TpmActivateCredentialCommand),
Certify(TpmCertifyCommand),
PolicyNv(TpmPolicyNvCommand),
CertifyCreation(TpmCertifyCreationCommand),
Duplicate(TpmDuplicateCommand),
GetTime(TpmGetTimeCommand),
GetSessionAuditDigest(TpmGetSessionAuditDigestCommand),
NvRead(TpmNvReadCommand),
NvReadLock(TpmNvReadLockCommand),
ObjectChangeAuth(TpmObjectChangeAuthCommand),
PolicySecret(TpmPolicySecretCommand),
Rewrap(TpmRewrapCommand),
Create(TpmCreateCommand),
EcdhZGen(TpmEcdhZGenCommand),
Hmac(TpmHmacCommand),
Import(TpmImportCommand),
Load(TpmLoadCommand),
Quote(TpmQuoteCommand),
RsaDecrypt(TpmRsaDecryptCommand),
HmacStart(TpmHmacStartCommand),
SequenceUpdate(TpmSequenceUpdateCommand),
Sign(TpmSignCommand),
Unseal(TpmUnsealCommand),
PolicySigned(TpmPolicySignedCommand),
ContextLoad(TpmContextLoadCommand),
ContextSave(TpmContextSaveCommand),
EcdhKeyGen(TpmEcdhKeyGenCommand),
EncryptDecrypt(TpmEncryptDecryptCommand),
FlushContext(TpmFlushContextCommand),
LoadExternal(TpmLoadExternalCommand),
MakeCredential(TpmMakeCredentialCommand),
NvReadPublic(TpmNvReadPublicCommand),
PolicyAuthorize(TpmPolicyAuthorizeCommand),
PolicyAuthValue(TpmPolicyAuthValueCommand),
PolicyCommandCode(TpmPolicyCommandCodeCommand),
PolicyCounterTimer(TpmPolicyCounterTimerCommand),
PolicyCpHash(TpmPolicyCpHashCommand),
PolicyLocality(TpmPolicyLocalityCommand),
PolicyNameHash(TpmPolicyNameHashCommand),
PolicyOr(TpmPolicyOrCommand),
PolicyTicket(TpmPolicyTicketCommand),
ReadPublic(TpmReadPublicCommand),
RsaEncrypt(TpmRsaEncryptCommand),
StartAuthSession(TpmStartAuthSessionCommand),
VerifySignature(TpmVerifySignatureCommand),
EccParameters(TpmEccParametersCommand),
FirmwareRead(TpmFirmwareReadCommand),
GetCapability(TpmGetCapabilityCommand),
GetRandom(TpmGetRandomCommand),
GetTestResult(TpmGetTestResultCommand),
Hash(TpmHashCommand),
PcrRead(TpmPcrReadCommand),
PolicyPcr(TpmPolicyPcrCommand),
PolicyRestart(TpmPolicyRestartCommand),
ReadClock(TpmReadClockCommand),
PcrExtend(TpmPcrExtendCommand),
PcrSetAuthValue(TpmPcrSetAuthValueCommand),
NvCertify(TpmNvCertifyCommand),
EventSequenceComplete(TpmEventSequenceCompleteCommand),
HashSequenceStart(TpmHashSequenceStartCommand),
PolicyPhysicalPresence(TpmPolicyPhysicalPresenceCommand),
PolicyDuplicationSelect(TpmPolicyDuplicationSelectCommand),
PolicyGetDigest(TpmPolicyGetDigestCommand),
TestParms(TpmTestParmsCommand),
Commit(TpmCommitCommand),
PolicyPassword(TpmPolicyPasswordCommand),
ZGen2Phase(TpmZGen2PhaseCommand),
EcEphemeral(TpmEcEphemeralCommand),
PolicyNvWritten(TpmPolicyNvWrittenCommand),
PolicyTemplate(TpmPolicyTemplateCommand),
CreateLoaded(TpmCreateLoadedCommand),
PolicyAuthorizeNv(TpmPolicyAuthorizeNvCommand),
EncryptDecrypt2(TpmEncryptDecrypt2Command),
AcGetCapability(TpmAcGetCapabilityCommand),
AcSend(TpmAcSendCommand),
PolicyAcSendSelect(TpmPolicyAcSendSelectCommand),
ActSetTimeout(TpmActSetTimeoutCommand),
EccEncrypt(TpmEccEncryptCommand),
EccDecrypt(TpmEccDecryptCommand),
PolicyCapability(TpmPolicyCapabilityCommand),
PolicyParameters(TpmPolicyParametersCommand),
NvDefineSpace2(TpmNvDefineSpace2Command),
NvReadPublic2(TpmNvReadPublic2Command),
ReadOnlyControl(TpmReadOnlyControlCommand),
PolicyTransportSpdm(TpmPolicyTransportSpdmCommand),
VendorTcgTest(TpmVendorTcgTestCommand),
}Expand description
An owned TPM command body value.
Variants§
NvUndefineSpaceSpecial(TpmNvUndefineSpaceSpecialCommand)
EvictControl(TpmEvictControlCommand)
HierarchyControl(TpmHierarchyControlCommand)
NvUndefineSpace(TpmNvUndefineSpaceCommand)
ChangeEps(TpmChangeEpsCommand)
ChangePps(TpmChangePpsCommand)
Clear(TpmClearCommand)
ClearControl(TpmClearControlCommand)
ClockSet(TpmClockSetCommand)
HierarchyChangeAuth(TpmHierarchyChangeAuthCommand)
NvDefineSpace(TpmNvDefineSpaceCommand)
PcrAllocate(TpmPcrAllocateCommand)
PcrSetAuthPolicy(TpmPcrSetAuthPolicyCommand)
PpCommands(TpmPpCommandsCommand)
SetPrimaryPolicy(TpmSetPrimaryPolicyCommand)
FieldUpgradeStart(TpmFieldUpgradeStartCommand)
ClockRateAdjust(TpmClockRateAdjustCommand)
CreatePrimary(TpmCreatePrimaryCommand)
NvGlobalWriteLock(TpmNvGlobalWriteLockCommand)
GetCommandAuditDigest(TpmGetCommandAuditDigestCommand)
NvIncrement(TpmNvIncrementCommand)
NvSetBits(TpmNvSetBitsCommand)
NvExtend(TpmNvExtendCommand)
NvWrite(TpmNvWriteCommand)
NvWriteLock(TpmNvWriteLockCommand)
DictionaryAttackLockReset(TpmDictionaryAttackLockResetCommand)
DictionaryAttackParameters(TpmDictionaryAttackParametersCommand)
NvChangeAuth(TpmNvChangeAuthCommand)
PcrEvent(TpmPcrEventCommand)
PcrReset(TpmPcrResetCommand)
SequenceComplete(TpmSequenceCompleteCommand)
SetAlgorithmSet(TpmSetAlgorithmSetCommand)
SetCommandCodeAuditStatus(TpmSetCommandCodeAuditStatusCommand)
FieldUpgradeData(TpmFieldUpgradeDataCommand)
IncrementalSelfTest(TpmIncrementalSelfTestCommand)
SelfTest(TpmSelfTestCommand)
Startup(TpmStartupCommand)
Shutdown(TpmShutdownCommand)
StirRandom(TpmStirRandomCommand)
ActivateCredential(TpmActivateCredentialCommand)
Certify(TpmCertifyCommand)
PolicyNv(TpmPolicyNvCommand)
CertifyCreation(TpmCertifyCreationCommand)
Duplicate(TpmDuplicateCommand)
GetTime(TpmGetTimeCommand)
GetSessionAuditDigest(TpmGetSessionAuditDigestCommand)
NvRead(TpmNvReadCommand)
NvReadLock(TpmNvReadLockCommand)
ObjectChangeAuth(TpmObjectChangeAuthCommand)
PolicySecret(TpmPolicySecretCommand)
Rewrap(TpmRewrapCommand)
Create(TpmCreateCommand)
EcdhZGen(TpmEcdhZGenCommand)
Hmac(TpmHmacCommand)
Import(TpmImportCommand)
Load(TpmLoadCommand)
Quote(TpmQuoteCommand)
RsaDecrypt(TpmRsaDecryptCommand)
HmacStart(TpmHmacStartCommand)
SequenceUpdate(TpmSequenceUpdateCommand)
Sign(TpmSignCommand)
Unseal(TpmUnsealCommand)
PolicySigned(TpmPolicySignedCommand)
ContextLoad(TpmContextLoadCommand)
ContextSave(TpmContextSaveCommand)
EcdhKeyGen(TpmEcdhKeyGenCommand)
EncryptDecrypt(TpmEncryptDecryptCommand)
FlushContext(TpmFlushContextCommand)
LoadExternal(TpmLoadExternalCommand)
MakeCredential(TpmMakeCredentialCommand)
NvReadPublic(TpmNvReadPublicCommand)
PolicyAuthorize(TpmPolicyAuthorizeCommand)
PolicyAuthValue(TpmPolicyAuthValueCommand)
PolicyCommandCode(TpmPolicyCommandCodeCommand)
PolicyCounterTimer(TpmPolicyCounterTimerCommand)
PolicyCpHash(TpmPolicyCpHashCommand)
PolicyLocality(TpmPolicyLocalityCommand)
PolicyNameHash(TpmPolicyNameHashCommand)
PolicyOr(TpmPolicyOrCommand)
PolicyTicket(TpmPolicyTicketCommand)
ReadPublic(TpmReadPublicCommand)
RsaEncrypt(TpmRsaEncryptCommand)
StartAuthSession(TpmStartAuthSessionCommand)
VerifySignature(TpmVerifySignatureCommand)
EccParameters(TpmEccParametersCommand)
FirmwareRead(TpmFirmwareReadCommand)
GetCapability(TpmGetCapabilityCommand)
GetRandom(TpmGetRandomCommand)
GetTestResult(TpmGetTestResultCommand)
Hash(TpmHashCommand)
PcrRead(TpmPcrReadCommand)
PolicyPcr(TpmPolicyPcrCommand)
PolicyRestart(TpmPolicyRestartCommand)
ReadClock(TpmReadClockCommand)
PcrExtend(TpmPcrExtendCommand)
PcrSetAuthValue(TpmPcrSetAuthValueCommand)
NvCertify(TpmNvCertifyCommand)
EventSequenceComplete(TpmEventSequenceCompleteCommand)
HashSequenceStart(TpmHashSequenceStartCommand)
PolicyPhysicalPresence(TpmPolicyPhysicalPresenceCommand)
PolicyDuplicationSelect(TpmPolicyDuplicationSelectCommand)
PolicyGetDigest(TpmPolicyGetDigestCommand)
TestParms(TpmTestParmsCommand)
Commit(TpmCommitCommand)
PolicyPassword(TpmPolicyPasswordCommand)
ZGen2Phase(TpmZGen2PhaseCommand)
EcEphemeral(TpmEcEphemeralCommand)
PolicyNvWritten(TpmPolicyNvWrittenCommand)
PolicyTemplate(TpmPolicyTemplateCommand)
CreateLoaded(TpmCreateLoadedCommand)
PolicyAuthorizeNv(TpmPolicyAuthorizeNvCommand)
EncryptDecrypt2(TpmEncryptDecrypt2Command)
AcGetCapability(TpmAcGetCapabilityCommand)
AcSend(TpmAcSendCommand)
PolicyAcSendSelect(TpmPolicyAcSendSelectCommand)
ActSetTimeout(TpmActSetTimeoutCommand)
EccEncrypt(TpmEccEncryptCommand)
EccDecrypt(TpmEccDecryptCommand)
PolicyCapability(TpmPolicyCapabilityCommand)
PolicyParameters(TpmPolicyParametersCommand)
NvDefineSpace2(TpmNvDefineSpace2Command)
NvReadPublic2(TpmNvReadPublic2Command)
ReadOnlyControl(TpmReadOnlyControlCommand)
PolicyTransportSpdm(TpmPolicyTransportSpdmCommand)
VendorTcgTest(TpmVendorTcgTestCommand)
Implementations§
Source§impl TpmCommandValue
impl TpmCommandValue
Sourcepub fn marshal_frame(
&self,
tag: TpmSt,
sessions: &TpmAuthCommands,
writer: &mut TpmWriter<'_>,
) -> TpmResult<()>
pub fn marshal_frame( &self, tag: TpmSt, sessions: &TpmAuthCommands, writer: &mut TpmWriter<'_>, ) -> TpmResult<()>
Trait Implementations§
Source§impl Clone for TpmCommandValue
impl Clone for TpmCommandValue
Source§fn clone(&self) -> TpmCommandValue
fn clone(&self) -> TpmCommandValue
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 TpmCommandValue
impl Debug for TpmCommandValue
impl Eq for TpmCommandValue
Source§impl PartialEq for TpmCommandValue
impl PartialEq for TpmCommandValue
Source§fn eq(&self, other: &TpmCommandValue) -> bool
fn eq(&self, other: &TpmCommandValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TpmCommandValue
Source§impl TpmFrame for TpmCommandValue
impl TpmFrame for TpmCommandValue
Source§impl TpmMarshal for TpmCommandValue
impl TpmMarshal for TpmCommandValue
Source§impl TpmMarshalBody for TpmCommandValue
impl TpmMarshalBody for TpmCommandValue
Auto Trait Implementations§
impl Freeze for TpmCommandValue
impl RefUnwindSafe for TpmCommandValue
impl Send for TpmCommandValue
impl Sync for TpmCommandValue
impl Unpin for TpmCommandValue
impl UnsafeUnpin for TpmCommandValue
impl UnwindSafe for TpmCommandValue
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