Inheritance: TpmStructureBase
Example #1
0
 public void PolicyCpHash(
     TpmHandle policySession,
     byte[] cpHashA
 )
 {
     Tpm2PolicyCpHashRequest inS = new Tpm2PolicyCpHashRequest();
     inS.policySession = policySession;
     inS.cpHashA = cpHashA;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.PolicyCpHash, (TpmStructureBase) inS, typeof(Tpm2PolicyCpHashResponse), out outSBase, 1, 0);
 }
Example #2
0
 public Tpm2PolicyCpHashRequest(Tpm2PolicyCpHashRequest the_Tpm2PolicyCpHashRequest)
 {
     if((Object) the_Tpm2PolicyCpHashRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     policySession = the_Tpm2PolicyCpHashRequest.policySession;
     cpHashA = the_Tpm2PolicyCpHashRequest.cpHashA;
 }