pub enum TpmResponseBody {
Show 87 variants
NvUndefineSpaceSpecial(TpmNvUndefineSpaceSpecialResponse),
EvictControl(TpmEvictControlResponse),
HierarchyControl(TpmHierarchyControlResponse),
NvUndefineSpace(TpmNvUndefineSpaceResponse),
ChangeEps(TpmChangeEpsResponse),
ChangePps(TpmChangePpsResponse),
Clear(TpmClearResponse),
ClearControl(TpmClearControlResponse),
HierarchyChangeAuth(TpmHierarchyChangeAuthResponse),
NvDefineSpace(TpmNvDefineSpaceResponse),
PcrAllocate(TpmPcrAllocateResponse),
PcrSetAuthPolicy(TpmPcrSetAuthPolicyResponse),
SetPrimaryPolicy(TpmSetPrimaryPolicyResponse),
CreatePrimary(TpmCreatePrimaryResponse),
NvGlobalWriteLock(TpmNvGlobalWriteLockResponse),
GetCommandAuditDigest(TpmGetCommandAuditDigestResponse),
NvIncrement(TpmNvIncrementResponse),
NvSetBits(TpmNvSetBitsResponse),
NvExtend(TpmNvExtendResponse),
NvWrite(TpmNvWriteResponse),
NvWriteLock(TpmNvWriteLockResponse),
DictionaryAttackLockReset(TpmDictionaryAttackLockResetResponse),
NvChangeAuth(TpmNvChangeAuthResponse),
PcrEvent(TpmPcrEventResponse),
PcrReset(TpmPcrResetResponse),
SequenceComplete(TpmSequenceCompleteResponse),
IncrementalSelfTest(TpmIncrementalSelfTestResponse),
SelfTest(TpmSelfTestResponse),
Startup(TpmStartupResponse),
Shutdown(TpmShutdownResponse),
StirRandom(TpmStirRandomResponse),
ActivateCredential(TpmActivateCredentialResponse),
Certify(TpmCertifyResponse),
CertifyCreation(TpmCertifyCreationResponse),
Duplicate(TpmDuplicateResponse),
GetTime(TpmGetTimeResponse),
GetSessionAuditDigest(TpmGetSessionAuditDigestResponse),
NvRead(TpmNvReadResponse),
NvReadLock(TpmNvReadLockResponse),
ObjectChangeAuth(TpmObjectChangeAuthResponse),
PolicySecret(TpmPolicySecretResponse),
Rewrap(TpmRewrapResponse),
Create(TpmCreateResponse),
EcdhZGen(TpmEcdhZGenResponse),
Import(TpmImportResponse),
Load(TpmLoadResponse),
Quote(TpmQuoteResponse),
RsaDecrypt(TpmRsaDecryptResponse),
SequenceUpdate(TpmSequenceUpdateResponse),
Sign(TpmSignResponse),
Unseal(TpmUnsealResponse),
PolicySigned(TpmPolicySignedResponse),
ContextLoad(TpmContextLoadResponse),
ContextSave(TpmContextSaveResponse),
EcdhKeyGen(TpmEcdhKeyGenResponse),
FlushContext(TpmFlushContextResponse),
LoadExternal(TpmLoadExternalResponse),
MakeCredential(TpmMakeCredentialResponse),
NvReadPublic(TpmNvReadPublicResponse),
PolicyAuthValue(TpmPolicyAuthValueResponse),
PolicyCommandCode(TpmPolicyCommandCodeResponse),
PolicyCpHash(TpmPolicyCpHashResponse),
PolicyLocality(TpmPolicyLocalityResponse),
PolicyOr(TpmPolicyOrResponse),
PolicyTicket(TpmPolicyTicketResponse),
ReadPublic(TpmReadPublicResponse),
RsaEncrypt(TpmRsaEncryptResponse),
StartAuthSession(TpmStartAuthSessionResponse),
VerifySignature(TpmVerifySignatureResponse),
EccParameters(TpmEccParametersResponse),
GetCapability(TpmGetCapabilityResponse),
GetRandom(TpmGetRandomResponse),
GetTestResult(TpmGetTestResultResponse),
Hash(TpmHashResponse),
PcrRead(TpmPcrReadResponse),
PolicyPcr(TpmPolicyPcrResponse),
PolicyRestart(TpmPolicyRestartResponse),
PcrExtend(TpmPcrExtendResponse),
PcrSetAuthValue(TpmPcrSetAuthValueResponse),
NvCertify(TpmNvCertifyResponse),
EventSequenceComplete(TpmEventSequenceCompleteResponse),
HashSequenceStart(TpmHashSequenceStartResponse),
PolicyPhysicalPresence(TpmPolicyPhysicalPresenceResponse),
PolicyGetDigest(TpmPolicyGetDigestResponse),
PolicyPassword(TpmPolicyPasswordResponse),
EncryptDecrypt2(TpmEncryptDecrypt2Response),
VendorTcgTest(TpmVendorTcgTestResponse),
}Expand description
A TPM response body
Variants§
NvUndefineSpaceSpecial(TpmNvUndefineSpaceSpecialResponse)
EvictControl(TpmEvictControlResponse)
HierarchyControl(TpmHierarchyControlResponse)
NvUndefineSpace(TpmNvUndefineSpaceResponse)
ChangeEps(TpmChangeEpsResponse)
ChangePps(TpmChangePpsResponse)
Clear(TpmClearResponse)
ClearControl(TpmClearControlResponse)
HierarchyChangeAuth(TpmHierarchyChangeAuthResponse)
NvDefineSpace(TpmNvDefineSpaceResponse)
PcrAllocate(TpmPcrAllocateResponse)
PcrSetAuthPolicy(TpmPcrSetAuthPolicyResponse)
SetPrimaryPolicy(TpmSetPrimaryPolicyResponse)
CreatePrimary(TpmCreatePrimaryResponse)
NvGlobalWriteLock(TpmNvGlobalWriteLockResponse)
GetCommandAuditDigest(TpmGetCommandAuditDigestResponse)
NvIncrement(TpmNvIncrementResponse)
NvSetBits(TpmNvSetBitsResponse)
NvExtend(TpmNvExtendResponse)
NvWrite(TpmNvWriteResponse)
NvWriteLock(TpmNvWriteLockResponse)
DictionaryAttackLockReset(TpmDictionaryAttackLockResetResponse)
NvChangeAuth(TpmNvChangeAuthResponse)
PcrEvent(TpmPcrEventResponse)
PcrReset(TpmPcrResetResponse)
SequenceComplete(TpmSequenceCompleteResponse)
IncrementalSelfTest(TpmIncrementalSelfTestResponse)
SelfTest(TpmSelfTestResponse)
Startup(TpmStartupResponse)
Shutdown(TpmShutdownResponse)
StirRandom(TpmStirRandomResponse)
ActivateCredential(TpmActivateCredentialResponse)
Certify(TpmCertifyResponse)
CertifyCreation(TpmCertifyCreationResponse)
Duplicate(TpmDuplicateResponse)
GetTime(TpmGetTimeResponse)
GetSessionAuditDigest(TpmGetSessionAuditDigestResponse)
NvRead(TpmNvReadResponse)
NvReadLock(TpmNvReadLockResponse)
ObjectChangeAuth(TpmObjectChangeAuthResponse)
PolicySecret(TpmPolicySecretResponse)
Rewrap(TpmRewrapResponse)
Create(TpmCreateResponse)
EcdhZGen(TpmEcdhZGenResponse)
Import(TpmImportResponse)
Load(TpmLoadResponse)
Quote(TpmQuoteResponse)
RsaDecrypt(TpmRsaDecryptResponse)
SequenceUpdate(TpmSequenceUpdateResponse)
Sign(TpmSignResponse)
Unseal(TpmUnsealResponse)
PolicySigned(TpmPolicySignedResponse)
ContextLoad(TpmContextLoadResponse)
ContextSave(TpmContextSaveResponse)
EcdhKeyGen(TpmEcdhKeyGenResponse)
FlushContext(TpmFlushContextResponse)
LoadExternal(TpmLoadExternalResponse)
MakeCredential(TpmMakeCredentialResponse)
NvReadPublic(TpmNvReadPublicResponse)
PolicyAuthValue(TpmPolicyAuthValueResponse)
PolicyCommandCode(TpmPolicyCommandCodeResponse)
PolicyCpHash(TpmPolicyCpHashResponse)
PolicyLocality(TpmPolicyLocalityResponse)
PolicyOr(TpmPolicyOrResponse)
PolicyTicket(TpmPolicyTicketResponse)
ReadPublic(TpmReadPublicResponse)
RsaEncrypt(TpmRsaEncryptResponse)
StartAuthSession(TpmStartAuthSessionResponse)
VerifySignature(TpmVerifySignatureResponse)
EccParameters(TpmEccParametersResponse)
GetCapability(TpmGetCapabilityResponse)
GetRandom(TpmGetRandomResponse)
GetTestResult(TpmGetTestResultResponse)
Hash(TpmHashResponse)
PcrRead(TpmPcrReadResponse)
PolicyPcr(TpmPolicyPcrResponse)
PolicyRestart(TpmPolicyRestartResponse)
PcrExtend(TpmPcrExtendResponse)
PcrSetAuthValue(TpmPcrSetAuthValueResponse)
NvCertify(TpmNvCertifyResponse)
EventSequenceComplete(TpmEventSequenceCompleteResponse)
HashSequenceStart(TpmHashSequenceStartResponse)
PolicyPhysicalPresence(TpmPolicyPhysicalPresenceResponse)
PolicyGetDigest(TpmPolicyGetDigestResponse)
PolicyPassword(TpmPolicyPasswordResponse)
EncryptDecrypt2(TpmEncryptDecrypt2Response)
VendorTcgTest(TpmVendorTcgTestResponse)
Implementations§
Source§impl TpmResponseBody
impl TpmResponseBody
Sourcepub fn NvUndefineSpaceSpecial(
self,
) -> Result<TpmNvUndefineSpaceSpecialResponse, Self>
pub fn NvUndefineSpaceSpecial( self, ) -> Result<TpmNvUndefineSpaceSpecialResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn EvictControl(self) -> Result<TpmEvictControlResponse, Self>
pub fn EvictControl(self) -> Result<TpmEvictControlResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn HierarchyControl(self) -> Result<TpmHierarchyControlResponse, Self>
pub fn HierarchyControl(self) -> Result<TpmHierarchyControlResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn NvUndefineSpace(self) -> Result<TpmNvUndefineSpaceResponse, Self>
pub fn NvUndefineSpace(self) -> Result<TpmNvUndefineSpaceResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn ChangeEps(self) -> Result<TpmChangeEpsResponse, Self>
pub fn ChangeEps(self) -> Result<TpmChangeEpsResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn ChangePps(self) -> Result<TpmChangePpsResponse, Self>
pub fn ChangePps(self) -> Result<TpmChangePpsResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn Clear(self) -> Result<TpmClearResponse, Self>
pub fn Clear(self) -> Result<TpmClearResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn ClearControl(self) -> Result<TpmClearControlResponse, Self>
pub fn ClearControl(self) -> Result<TpmClearControlResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn HierarchyChangeAuth(self) -> Result<TpmHierarchyChangeAuthResponse, Self>
pub fn HierarchyChangeAuth(self) -> Result<TpmHierarchyChangeAuthResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn NvDefineSpace(self) -> Result<TpmNvDefineSpaceResponse, Self>
pub fn NvDefineSpace(self) -> Result<TpmNvDefineSpaceResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PcrAllocate(self) -> Result<TpmPcrAllocateResponse, Self>
pub fn PcrAllocate(self) -> Result<TpmPcrAllocateResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PcrSetAuthPolicy(self) -> Result<TpmPcrSetAuthPolicyResponse, Self>
pub fn PcrSetAuthPolicy(self) -> Result<TpmPcrSetAuthPolicyResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn SetPrimaryPolicy(self) -> Result<TpmSetPrimaryPolicyResponse, Self>
pub fn SetPrimaryPolicy(self) -> Result<TpmSetPrimaryPolicyResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn CreatePrimary(self) -> Result<TpmCreatePrimaryResponse, Self>
pub fn CreatePrimary(self) -> Result<TpmCreatePrimaryResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn NvGlobalWriteLock(self) -> Result<TpmNvGlobalWriteLockResponse, Self>
pub fn NvGlobalWriteLock(self) -> Result<TpmNvGlobalWriteLockResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn GetCommandAuditDigest(
self,
) -> Result<TpmGetCommandAuditDigestResponse, Self>
pub fn GetCommandAuditDigest( self, ) -> Result<TpmGetCommandAuditDigestResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn NvIncrement(self) -> Result<TpmNvIncrementResponse, Self>
pub fn NvIncrement(self) -> Result<TpmNvIncrementResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn NvSetBits(self) -> Result<TpmNvSetBitsResponse, Self>
pub fn NvSetBits(self) -> Result<TpmNvSetBitsResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn NvExtend(self) -> Result<TpmNvExtendResponse, Self>
pub fn NvExtend(self) -> Result<TpmNvExtendResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn NvWrite(self) -> Result<TpmNvWriteResponse, Self>
pub fn NvWrite(self) -> Result<TpmNvWriteResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn NvWriteLock(self) -> Result<TpmNvWriteLockResponse, Self>
pub fn NvWriteLock(self) -> Result<TpmNvWriteLockResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn DictionaryAttackLockReset(
self,
) -> Result<TpmDictionaryAttackLockResetResponse, Self>
pub fn DictionaryAttackLockReset( self, ) -> Result<TpmDictionaryAttackLockResetResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn NvChangeAuth(self) -> Result<TpmNvChangeAuthResponse, Self>
pub fn NvChangeAuth(self) -> Result<TpmNvChangeAuthResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PcrEvent(self) -> Result<TpmPcrEventResponse, Self>
pub fn PcrEvent(self) -> Result<TpmPcrEventResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PcrReset(self) -> Result<TpmPcrResetResponse, Self>
pub fn PcrReset(self) -> Result<TpmPcrResetResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn SequenceComplete(self) -> Result<TpmSequenceCompleteResponse, Self>
pub fn SequenceComplete(self) -> Result<TpmSequenceCompleteResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn IncrementalSelfTest(self) -> Result<TpmIncrementalSelfTestResponse, Self>
pub fn IncrementalSelfTest(self) -> Result<TpmIncrementalSelfTestResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn SelfTest(self) -> Result<TpmSelfTestResponse, Self>
pub fn SelfTest(self) -> Result<TpmSelfTestResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn Startup(self) -> Result<TpmStartupResponse, Self>
pub fn Startup(self) -> Result<TpmStartupResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn Shutdown(self) -> Result<TpmShutdownResponse, Self>
pub fn Shutdown(self) -> Result<TpmShutdownResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn StirRandom(self) -> Result<TpmStirRandomResponse, Self>
pub fn StirRandom(self) -> Result<TpmStirRandomResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn ActivateCredential(self) -> Result<TpmActivateCredentialResponse, Self>
pub fn ActivateCredential(self) -> Result<TpmActivateCredentialResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn Certify(self) -> Result<TpmCertifyResponse, Self>
pub fn Certify(self) -> Result<TpmCertifyResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn CertifyCreation(self) -> Result<TpmCertifyCreationResponse, Self>
pub fn CertifyCreation(self) -> Result<TpmCertifyCreationResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn Duplicate(self) -> Result<TpmDuplicateResponse, Self>
pub fn Duplicate(self) -> Result<TpmDuplicateResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn GetTime(self) -> Result<TpmGetTimeResponse, Self>
pub fn GetTime(self) -> Result<TpmGetTimeResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn GetSessionAuditDigest(
self,
) -> Result<TpmGetSessionAuditDigestResponse, Self>
pub fn GetSessionAuditDigest( self, ) -> Result<TpmGetSessionAuditDigestResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn NvRead(self) -> Result<TpmNvReadResponse, Self>
pub fn NvRead(self) -> Result<TpmNvReadResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn NvReadLock(self) -> Result<TpmNvReadLockResponse, Self>
pub fn NvReadLock(self) -> Result<TpmNvReadLockResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn ObjectChangeAuth(self) -> Result<TpmObjectChangeAuthResponse, Self>
pub fn ObjectChangeAuth(self) -> Result<TpmObjectChangeAuthResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PolicySecret(self) -> Result<TpmPolicySecretResponse, Self>
pub fn PolicySecret(self) -> Result<TpmPolicySecretResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn Rewrap(self) -> Result<TpmRewrapResponse, Self>
pub fn Rewrap(self) -> Result<TpmRewrapResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn Create(self) -> Result<TpmCreateResponse, Self>
pub fn Create(self) -> Result<TpmCreateResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn EcdhZGen(self) -> Result<TpmEcdhZGenResponse, Self>
pub fn EcdhZGen(self) -> Result<TpmEcdhZGenResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn Import(self) -> Result<TpmImportResponse, Self>
pub fn Import(self) -> Result<TpmImportResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn Load(self) -> Result<TpmLoadResponse, Self>
pub fn Load(self) -> Result<TpmLoadResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn Quote(self) -> Result<TpmQuoteResponse, Self>
pub fn Quote(self) -> Result<TpmQuoteResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn RsaDecrypt(self) -> Result<TpmRsaDecryptResponse, Self>
pub fn RsaDecrypt(self) -> Result<TpmRsaDecryptResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn SequenceUpdate(self) -> Result<TpmSequenceUpdateResponse, Self>
pub fn SequenceUpdate(self) -> Result<TpmSequenceUpdateResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn Sign(self) -> Result<TpmSignResponse, Self>
pub fn Sign(self) -> Result<TpmSignResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn Unseal(self) -> Result<TpmUnsealResponse, Self>
pub fn Unseal(self) -> Result<TpmUnsealResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PolicySigned(self) -> Result<TpmPolicySignedResponse, Self>
pub fn PolicySigned(self) -> Result<TpmPolicySignedResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn ContextLoad(self) -> Result<TpmContextLoadResponse, Self>
pub fn ContextLoad(self) -> Result<TpmContextLoadResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn ContextSave(self) -> Result<TpmContextSaveResponse, Self>
pub fn ContextSave(self) -> Result<TpmContextSaveResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn EcdhKeyGen(self) -> Result<TpmEcdhKeyGenResponse, Self>
pub fn EcdhKeyGen(self) -> Result<TpmEcdhKeyGenResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn FlushContext(self) -> Result<TpmFlushContextResponse, Self>
pub fn FlushContext(self) -> Result<TpmFlushContextResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn LoadExternal(self) -> Result<TpmLoadExternalResponse, Self>
pub fn LoadExternal(self) -> Result<TpmLoadExternalResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn MakeCredential(self) -> Result<TpmMakeCredentialResponse, Self>
pub fn MakeCredential(self) -> Result<TpmMakeCredentialResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn NvReadPublic(self) -> Result<TpmNvReadPublicResponse, Self>
pub fn NvReadPublic(self) -> Result<TpmNvReadPublicResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PolicyAuthValue(self) -> Result<TpmPolicyAuthValueResponse, Self>
pub fn PolicyAuthValue(self) -> Result<TpmPolicyAuthValueResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PolicyCommandCode(self) -> Result<TpmPolicyCommandCodeResponse, Self>
pub fn PolicyCommandCode(self) -> Result<TpmPolicyCommandCodeResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PolicyCpHash(self) -> Result<TpmPolicyCpHashResponse, Self>
pub fn PolicyCpHash(self) -> Result<TpmPolicyCpHashResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PolicyLocality(self) -> Result<TpmPolicyLocalityResponse, Self>
pub fn PolicyLocality(self) -> Result<TpmPolicyLocalityResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PolicyOr(self) -> Result<TpmPolicyOrResponse, Self>
pub fn PolicyOr(self) -> Result<TpmPolicyOrResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PolicyTicket(self) -> Result<TpmPolicyTicketResponse, Self>
pub fn PolicyTicket(self) -> Result<TpmPolicyTicketResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn ReadPublic(self) -> Result<TpmReadPublicResponse, Self>
pub fn ReadPublic(self) -> Result<TpmReadPublicResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn RsaEncrypt(self) -> Result<TpmRsaEncryptResponse, Self>
pub fn RsaEncrypt(self) -> Result<TpmRsaEncryptResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn StartAuthSession(self) -> Result<TpmStartAuthSessionResponse, Self>
pub fn StartAuthSession(self) -> Result<TpmStartAuthSessionResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn VerifySignature(self) -> Result<TpmVerifySignatureResponse, Self>
pub fn VerifySignature(self) -> Result<TpmVerifySignatureResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn EccParameters(self) -> Result<TpmEccParametersResponse, Self>
pub fn EccParameters(self) -> Result<TpmEccParametersResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn GetCapability(self) -> Result<TpmGetCapabilityResponse, Self>
pub fn GetCapability(self) -> Result<TpmGetCapabilityResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn GetRandom(self) -> Result<TpmGetRandomResponse, Self>
pub fn GetRandom(self) -> Result<TpmGetRandomResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn GetTestResult(self) -> Result<TpmGetTestResultResponse, Self>
pub fn GetTestResult(self) -> Result<TpmGetTestResultResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn Hash(self) -> Result<TpmHashResponse, Self>
pub fn Hash(self) -> Result<TpmHashResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PcrRead(self) -> Result<TpmPcrReadResponse, Self>
pub fn PcrRead(self) -> Result<TpmPcrReadResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PolicyPcr(self) -> Result<TpmPolicyPcrResponse, Self>
pub fn PolicyPcr(self) -> Result<TpmPolicyPcrResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PolicyRestart(self) -> Result<TpmPolicyRestartResponse, Self>
pub fn PolicyRestart(self) -> Result<TpmPolicyRestartResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PcrExtend(self) -> Result<TpmPcrExtendResponse, Self>
pub fn PcrExtend(self) -> Result<TpmPcrExtendResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PcrSetAuthValue(self) -> Result<TpmPcrSetAuthValueResponse, Self>
pub fn PcrSetAuthValue(self) -> Result<TpmPcrSetAuthValueResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn NvCertify(self) -> Result<TpmNvCertifyResponse, Self>
pub fn NvCertify(self) -> Result<TpmNvCertifyResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn EventSequenceComplete(
self,
) -> Result<TpmEventSequenceCompleteResponse, Self>
pub fn EventSequenceComplete( self, ) -> Result<TpmEventSequenceCompleteResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn HashSequenceStart(self) -> Result<TpmHashSequenceStartResponse, Self>
pub fn HashSequenceStart(self) -> Result<TpmHashSequenceStartResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PolicyPhysicalPresence(
self,
) -> Result<TpmPolicyPhysicalPresenceResponse, Self>
pub fn PolicyPhysicalPresence( self, ) -> Result<TpmPolicyPhysicalPresenceResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PolicyGetDigest(self) -> Result<TpmPolicyGetDigestResponse, Self>
pub fn PolicyGetDigest(self) -> Result<TpmPolicyGetDigestResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn PolicyPassword(self) -> Result<TpmPolicyPasswordResponse, Self>
pub fn PolicyPassword(self) -> Result<TpmPolicyPasswordResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn EncryptDecrypt2(self) -> Result<TpmEncryptDecrypt2Response, Self>
pub fn EncryptDecrypt2(self) -> Result<TpmEncryptDecrypt2Response, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Sourcepub fn VendorTcgTest(self) -> Result<TpmVendorTcgTestResponse, Self>
pub fn VendorTcgTest(self) -> Result<TpmVendorTcgTestResponse, Self>
Attempts to convert the TpmResponseBody into a specific response type.
§Errors
Returns the original TpmResponseBody as an error if the enum variant does not match.
Trait Implementations§
Source§impl Clone for TpmResponseBody
impl Clone for TpmResponseBody
Source§fn clone(&self) -> TpmResponseBody
fn clone(&self) -> TpmResponseBody
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more