Beispiel #1
0
 public TpmHash[] EventSequenceComplete(
     TpmHandle pcrHandle,
     TpmHandle sequenceHandle,
     byte[] buffer
 )
 {
     Tpm2EventSequenceCompleteRequest inS = new Tpm2EventSequenceCompleteRequest();
     inS.pcrHandle = pcrHandle;
     inS.sequenceHandle = sequenceHandle;
     inS.buffer = buffer;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.EventSequenceComplete, (TpmStructureBase) inS, typeof(Tpm2EventSequenceCompleteResponse), out outSBase, 2, 0);
     Tpm2EventSequenceCompleteResponse outS = (Tpm2EventSequenceCompleteResponse) outSBase;
     return outS.results;
 }
Beispiel #2
0
 public Tpm2EventSequenceCompleteRequest(Tpm2EventSequenceCompleteRequest the_Tpm2EventSequenceCompleteRequest)
 {
     if((Object) the_Tpm2EventSequenceCompleteRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     pcrHandle = the_Tpm2EventSequenceCompleteRequest.pcrHandle;
     sequenceHandle = the_Tpm2EventSequenceCompleteRequest.sequenceHandle;
     buffer = the_Tpm2EventSequenceCompleteRequest.buffer;
 }