Exemplo n.º 1
0
 public void HierarchyChangeAuth(
     TpmHandle authHandle,
     byte[] newAuth
 )
 {
     Tpm2HierarchyChangeAuthRequest inS = new Tpm2HierarchyChangeAuthRequest();
     inS.authHandle = authHandle;
     inS.newAuth = newAuth;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.HierarchyChangeAuth, (TpmStructureBase) inS, typeof(Tpm2HierarchyChangeAuthResponse), out outSBase, 1, 0);
 }
Exemplo n.º 2
0
 public Tpm2HierarchyChangeAuthRequest(Tpm2HierarchyChangeAuthRequest the_Tpm2HierarchyChangeAuthRequest)
 {
     if((Object) the_Tpm2HierarchyChangeAuthRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     authHandle = the_Tpm2HierarchyChangeAuthRequest.authHandle;
     newAuth = the_Tpm2HierarchyChangeAuthRequest.newAuth;
 }