Inheritance: TpmStructureBase
示例#1
0
 ///<param name = "the_objectHandle">handle of type TPM_HT_TRANSIENT for created Primary Object</param>
 ///<param name = "the_outPublic">the public portion of the created object</param>
 ///<param name = "the_creationData">contains a TPMT_CREATION_DATA</param>
 ///<param name = "the_creationHash">digest of creationData using nameAlg of outPublic</param>
 ///<param name = "the_creationTicket">ticket used by TPM2_CertifyCreation() to validate that the creation data was produced by the TPM</param>
 ///<param name = "the_name">the name of the created object</param>
 public Tpm2CreatePrimaryResponse(
 TpmHandle the_objectHandle,
 TpmPublic the_outPublic,
 CreationData the_creationData,
 byte[] the_creationHash,
 TkCreation the_creationTicket,
 byte[] the_name
 )
 {
     this.objectHandle = the_objectHandle;
     this.outPublic = the_outPublic;
     this.creationData = the_creationData;
     this.creationHash = the_creationHash;
     this.creationTicket = the_creationTicket;
     this.name = the_name;
 }
示例#2
0
 ///<param name = "the_outPrivate">the private portion of the object</param>
 ///<param name = "the_outPublic">the public portion of the created object</param>
 ///<param name = "the_creationData">contains a TPMS_CREATION_DATA</param>
 ///<param name = "the_creationHash">digest of creationData using nameAlg of outPublic</param>
 ///<param name = "the_creationTicket">ticket used by TPM2_CertifyCreation() to validate that the creation data was produced by the TPM</param>
 public Tpm2CreateResponse(
 TpmPrivate the_outPrivate,
 TpmPublic the_outPublic,
 CreationData the_creationData,
 byte[] the_creationHash,
 TkCreation the_creationTicket
 )
 {
     this.outPrivate = the_outPrivate;
     this.outPublic = the_outPublic;
     this.creationData = the_creationData;
     this.creationHash = the_creationHash;
     this.creationTicket = the_creationTicket;
 }
示例#3
0
 public Tpm2CreatePrimaryResponse()
 {
     objectHandle = new TpmHandle();
     outPublic = new TpmPublic();
     creationData = new CreationData();
     creationHash = new byte[0];
     creationTicket = new TkCreation();
     name = new byte[0];
 }
示例#4
0
 public Tpm2CreateResponse()
 {
     outPrivate = new TpmPrivate();
     outPublic = new TpmPublic();
     creationData = new CreationData();
     creationHash = new byte[0];
     creationTicket = new TkCreation();
 }
示例#5
0
 ///<param name = "the_creationData"></param>
 public Tpm2bCreationData(
 CreationData the_creationData
 )
 {
     this.creationData = the_creationData;
 }
示例#6
0
 public Tpm2bCreationData(Tpm2bCreationData the_Tpm2bCreationData)
 {
     if((Object) the_Tpm2bCreationData == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     creationData = the_Tpm2bCreationData.creationData;
 }
示例#7
0
 public Tpm2bCreationData()
 {
     creationData = new CreationData();
 }
示例#8
0
 public CreationData(CreationData the_CreationData)
 {
     if((Object) the_CreationData == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     pcrSelect = the_CreationData.pcrSelect;
     pcrDigest = the_CreationData.pcrDigest;
     locality = the_CreationData.locality;
     parentNameAlg = the_CreationData.parentNameAlg;
     parentName = the_CreationData.parentName;
     parentQualifiedName = the_CreationData.parentQualifiedName;
     outsideInfo = the_CreationData.outsideInfo;
 }