Пример #1
0
 public void SequenceUpdate(
     TpmHandle sequenceHandle,
     byte[] buffer
 )
 {
     Tpm2SequenceUpdateRequest inS = new Tpm2SequenceUpdateRequest();
     inS.sequenceHandle = sequenceHandle;
     inS.buffer = buffer;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.SequenceUpdate, (TpmStructureBase) inS, typeof(Tpm2SequenceUpdateResponse), out outSBase, 1, 0);
 }
Пример #2
0
 public Tpm2SequenceUpdateRequest(Tpm2SequenceUpdateRequest the_Tpm2SequenceUpdateRequest)
 {
     if((Object) the_Tpm2SequenceUpdateRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     sequenceHandle = the_Tpm2SequenceUpdateRequest.sequenceHandle;
     buffer = the_Tpm2SequenceUpdateRequest.buffer;
 }