상속: TpmStructureBase
예제 #1
0
 public void PolicyTemplate(
     TpmHandle policySession,
     byte[] templateHash
 )
 {
     Tpm2PolicyTemplateRequest inS = new Tpm2PolicyTemplateRequest();
     inS.policySession = policySession;
     inS.templateHash = templateHash;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.PolicyTemplate, (TpmStructureBase) inS, typeof(Tpm2PolicyTemplateResponse), out outSBase, 1, 0);
 }
예제 #2
0
 public Tpm2PolicyTemplateRequest(Tpm2PolicyTemplateRequest the_Tpm2PolicyTemplateRequest)
 {
     if((Object) the_Tpm2PolicyTemplateRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     policySession = the_Tpm2PolicyTemplateRequest.policySession;
     templateHash = the_Tpm2PolicyTemplateRequest.templateHash;
 }