Ejemplo n.º 1
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);
 }
Ejemplo n.º 2
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;
 }