Esempio n. 1
0
 public NvPublic()
 {
     nvIndex = new TpmHandle();
     nameAlg = TpmAlgId.Null;
     attributes = new NvAttr();
     authPolicy = new byte[0];
 }
Esempio n. 2
0
 ///<param name = "the_nvIndex">the handle of the data area</param>
 ///<param name = "the_nameAlg">hash algorithm used to compute the name of the Index and used for the authPolicy</param>
 ///<param name = "the_attributes">the Index attributes</param>
 ///<param name = "the_authPolicy">optional access policy for the Index The policy is computed using the nameAlg NOTE Shall be the Empty Policy if no authorization policy is present.</param>
 ///<param name = "the_dataSize">the size of the data area The maximum size is implementation-dependent. The minimum maximum size is platform-specific.</param>
 public NvPublic(
 TpmHandle the_nvIndex,
 TpmAlgId the_nameAlg,
 NvAttr the_attributes,
 byte[] the_authPolicy,
 ushort the_dataSize
 )
 {
     this.nvIndex = the_nvIndex;
     this.nameAlg = the_nameAlg;
     this.attributes = the_attributes;
     this.authPolicy = the_authPolicy;
     this.dataSize = the_dataSize;
 }
Esempio n. 3
0
 public NvPublic()
 {
     nvIndex = new TpmHandle();
     nameAlg = TpmAlgId.Null;
     attributes = new NvAttr();
     authPolicy = null;
     dataSize = 0;
 }