Inheritance: TpmStructureBase
Ejemplo n.º 1
0
 public TpmHash[] PcrEvent(
     TpmHandle pcrHandle,
     byte[] eventData
 )
 {
     Tpm2PcrEventRequest inS = new Tpm2PcrEventRequest();
     inS.pcrHandle = pcrHandle;
     inS.eventData = eventData;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.PcrEvent, (TpmStructureBase) inS, typeof(Tpm2PcrEventResponse), out outSBase, 1, 0);
     Tpm2PcrEventResponse outS = (Tpm2PcrEventResponse) outSBase;
     return outS.digests;
 }
Ejemplo n.º 2
0
 public Tpm2PcrEventRequest(Tpm2PcrEventRequest the_Tpm2PcrEventRequest)
 {
     if((Object) the_Tpm2PcrEventRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     pcrHandle = the_Tpm2PcrEventRequest.pcrHandle;
     eventData = the_Tpm2PcrEventRequest.eventData;
 }