///<param name = "the_magic">the indication that this structure was created by a TPM (always TPM_GENERATED_VALUE)</param> ///<param name = "the_qualifiedSigner">Qualified Name of the signing key</param> ///<param name = "the_extraData">external information supplied by caller NOTE A TPM2B_DATA structure provides room for a digest and a method indicator to indicate the components of the digest. The definition of this method indicator is outside the scope of this specification.</param> ///<param name = "the_clockInfo">Clock, resetCount, restartCount, and Safe</param> ///<param name = "the_firmwareVersion">TPM-vendor-specific value identifying the version number of the firmware</param> ///<param name = "the_attested">the type-specific attestation information(One of CertifyInfo, CreationInfo, QuoteInfo, CommandAuditInfo, SessionAuditInfo, TimeAttestInfo, NvCertifyInfo)</param> public Attest( Generated the_magic, byte[] the_qualifiedSigner, byte[] the_extraData, ClockInfo the_clockInfo, ulong the_firmwareVersion, IAttestUnion the_attested ) { this.magic = the_magic; this.qualifiedSigner = the_qualifiedSigner; this.extraData = the_extraData; this.clockInfo = the_clockInfo; this.firmwareVersion = the_firmwareVersion; this.attested = the_attested; }
public Attest() { magic = new Generated(); qualifiedSigner = new byte[0]; extraData = new byte[0]; clockInfo = new ClockInfo(); firmwareVersion = new ulong(); }
///<param name = "the_time">time in milliseconds since the last _TPM_Init() or TPM2_Startup() This structure element is used to report on the TPM's Time value.</param> ///<param name = "the_clockInfo">a structure containing the clock information</param> public TimeInfo( ulong the_time, ClockInfo the_clockInfo ) { this.time = the_time; this.clockInfo = the_clockInfo; }
public TimeInfo(TimeInfo the_TimeInfo) { if((Object) the_TimeInfo == null ) throw new ArgumentException(Globs.GetResourceString("parmError")); time = the_TimeInfo.time; clockInfo = the_TimeInfo.clockInfo; }
public TimeInfo() { time = new ulong(); clockInfo = new ClockInfo(); }
public ClockInfo(ClockInfo the_ClockInfo) { if((Object) the_ClockInfo == null ) throw new ArgumentException(Globs.GetResourceString("parmError")); clock = the_ClockInfo.clock; resetCount = the_ClockInfo.resetCount; restartCount = the_ClockInfo.restartCount; safe = the_ClockInfo.safe; }