C# Class Tpm2Lib.ClockInfo

Inheritance: TpmStructureBase
ファイルを表示 Open project: Microsoft/TSS.MSR Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ClockInfo ( ) : System
ClockInfo ( ClockInfo the_ClockInfo ) : System
ClockInfo ( ulong the_clock, uint the_resetCount, uint the_restartCount, byte the_safe ) : System
Copy ( ) : ClockInfo

Method Details

ClockInfo() public method

public ClockInfo ( ) : System
return System

ClockInfo() public method

public ClockInfo ( ClockInfo the_ClockInfo ) : System
the_ClockInfo ClockInfo
return System

ClockInfo() public method

public ClockInfo ( ulong the_clock, uint the_resetCount, uint the_restartCount, byte the_safe ) : System
the_clock ulong time value in milliseconds that advances while the TPM is powered NOTE The interpretation of the time-origin (clock=0) is out of the scope of this specification, although Coordinated Universal Time (UTC) is expected to be a common convention. This structure element is used to report on the TPM's Clock value. The value of Clock shall be recorded in non-volatile memory no less often than once per 222 milliseconds (~69.9 minutes) of TPM operation. The reference for the millisecond timer is the TPM oscillator. This value is reset to zero when the Storage Primary Seed is changed (TPM2_Clear()). This value may be advanced by TPM2_ClockSet().
the_resetCount uint number of occurrences of TPM Reset since the last TPM2_Clear()
the_restartCount uint number of times that TPM2_Shutdown() or _TPM_Hash_Start have occurred since the last TPM Reset or TPM2_Clear().
the_safe byte no value of Clock greater than the current value of Clock has been previously reported by the TPM. Set to YES on TPM2_Clear().
return System

Copy() public method

public Copy ( ) : ClockInfo
return ClockInfo