Ejemplo n.º 1
0
 public void PolicyAuthorizeNV(
     TpmHandle authHandle,
     TpmHandle nvIndex,
     TpmHandle policySession
 )
 {
     Tpm2PolicyAuthorizeNVRequest inS = new Tpm2PolicyAuthorizeNVRequest();
     inS.authHandle = authHandle;
     inS.nvIndex = nvIndex;
     inS.policySession = policySession;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.PolicyAuthorizeNV, (TpmStructureBase) inS, typeof(Tpm2PolicyAuthorizeNVResponse), out outSBase, 3, 0);
 }
Ejemplo n.º 2
0
 public Tpm2PolicyAuthorizeNVRequest(Tpm2PolicyAuthorizeNVRequest the_Tpm2PolicyAuthorizeNVRequest)
 {
     if((Object) the_Tpm2PolicyAuthorizeNVRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     authHandle = the_Tpm2PolicyAuthorizeNVRequest.authHandle;
     nvIndex = the_Tpm2PolicyAuthorizeNVRequest.nvIndex;
     policySession = the_Tpm2PolicyAuthorizeNVRequest.policySession;
 }