Пример #1
0
 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
 public Tpm2PcrExtendRequest(Tpm2PcrExtendRequest the_Tpm2PcrExtendRequest)
 {
     if((Object) the_Tpm2PcrExtendRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     pcrHandle = the_Tpm2PcrExtendRequest.pcrHandle;
     digests = the_Tpm2PcrExtendRequest.digests;
 }