Inheritance: TpmStructureBase
Exemplo n.º 1
0
 ///<param name = "the_nvPublic">the public area</param>
 public Tpm2bNvPublic(
 NvPublic the_nvPublic
 )
 {
     this.nvPublic = the_nvPublic;
 }
Exemplo n.º 2
0
 public Tpm2bNvPublic()
 {
     nvPublic = new NvPublic();
 }
Exemplo n.º 3
0
 public Tpm2bNvPublic(Tpm2bNvPublic the_Tpm2bNvPublic)
 {
     if((Object) the_Tpm2bNvPublic == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     nvPublic = the_Tpm2bNvPublic.nvPublic;
 }
Exemplo n.º 4
0
 public void NvDefineSpace(
     TpmHandle authHandle,
     byte[] auth,
     NvPublic publicInfo
 )
 {
     Tpm2NvDefineSpaceRequest inS = new Tpm2NvDefineSpaceRequest();
     inS.authHandle = authHandle;
     inS.auth = auth;
     inS.publicInfo = publicInfo;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.NvDefineSpace, (TpmStructureBase) inS, typeof(Tpm2NvDefineSpaceResponse), out outSBase, 1, 0);
 }
Exemplo n.º 5
0
 public NvPublic(NvPublic the_NvPublic)
 {
     if((Object) the_NvPublic == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     nvIndex = the_NvPublic.nvIndex;
     nameAlg = the_NvPublic.nameAlg;
     attributes = the_NvPublic.attributes;
     authPolicy = the_NvPublic.authPolicy;
     dataSize = the_NvPublic.dataSize;
 }
Exemplo n.º 6
0
 public Tpm2NvReadPublicResponse(Tpm2NvReadPublicResponse the_Tpm2NvReadPublicResponse)
 {
     if((Object) the_Tpm2NvReadPublicResponse == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     nvPublic = the_Tpm2NvReadPublicResponse.nvPublic;
     nvName = the_Tpm2NvReadPublicResponse.nvName;
 }
Exemplo n.º 7
0
 ///<param name = "the_nvPublic">the public area of the NV Index</param>
 ///<param name = "the_nvName">the Name of the nvIndex</param>
 public Tpm2NvReadPublicResponse(
 NvPublic the_nvPublic,
 byte[] the_nvName
 )
 {
     this.nvPublic = the_nvPublic;
     this.nvName = the_nvName;
 }
Exemplo n.º 8
0
 public Tpm2NvReadPublicResponse()
 {
     nvPublic = new NvPublic();
     nvName = new byte[0];
 }
Exemplo n.º 9
0
 ///<param name = "the_authHandle">TPM_RH_OWNER or TPM_RH_PLATFORM+{PP} Auth Index: 1 Auth Role: USER</param>
 ///<param name = "the_auth">the authorization value</param>
 ///<param name = "the_publicInfo">the public parameters of the NV area</param>
 public Tpm2NvDefineSpaceRequest(
 TpmHandle the_authHandle,
 byte[] the_auth,
 NvPublic the_publicInfo
 )
 {
     this.authHandle = the_authHandle;
     this.auth = the_auth;
     this.publicInfo = the_publicInfo;
 }
Exemplo n.º 10
0
 public Tpm2NvDefineSpaceRequest(Tpm2NvDefineSpaceRequest the_Tpm2NvDefineSpaceRequest)
 {
     if((Object) the_Tpm2NvDefineSpaceRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     authHandle = the_Tpm2NvDefineSpaceRequest.authHandle;
     auth = the_Tpm2NvDefineSpaceRequest.auth;
     publicInfo = the_Tpm2NvDefineSpaceRequest.publicInfo;
 }
Exemplo n.º 11
0
 public Tpm2NvDefineSpaceRequest()
 {
     authHandle = new TpmHandle();
     auth = new byte[0];
     publicInfo = new NvPublic();
 }
Exemplo n.º 12
0
 public Tpm2NvReadPublicResponse()
 {
     nvPublic = new NvPublic();
     nvName = null;
 }