Inheritance: TpmStructureBase
コード例 #1
0
ファイル: X_TpmDefs.cs プロジェクト: vishalishere/TSS.MSR
 public void PcrExtend(
     TpmHandle pcrHandle,
     TpmHash[] digests
 )
 {
     Tpm2PcrExtendRequest inS = new Tpm2PcrExtendRequest();
     inS.pcrHandle = pcrHandle;
     inS.digests = digests;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.PcrExtend, (TpmStructureBase) inS, typeof(Tpm2PcrExtendResponse), out outSBase, 1, 0);
 }
コード例 #2
0
ファイル: X_TpmDefs.cs プロジェクト: vishalishere/TSS.MSR
 public Tpm2PcrExtendRequest(Tpm2PcrExtendRequest the_Tpm2PcrExtendRequest)
 {
     if((Object) the_Tpm2PcrExtendRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     pcrHandle = the_Tpm2PcrExtendRequest.pcrHandle;
     digests = the_Tpm2PcrExtendRequest.digests;
 }