Inheritance: TpmStructureBase
Beispiel #1
0
 public uint PcrRead(
     PcrSelection[] pcrSelectionIn,
     [SuppressMessage("Microsoft.Design", "CA1021")]
     out PcrSelection[] pcrSelectionOut,
     [SuppressMessage("Microsoft.Design", "CA1021")]
     out Tpm2bDigest[] pcrValues
 )
 {
     Tpm2PcrReadRequest inS = new Tpm2PcrReadRequest();
     inS.pcrSelectionIn = pcrSelectionIn;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.PcrRead, (TpmStructureBase) inS, typeof(Tpm2PcrReadResponse), out outSBase, 0, 0);
     Tpm2PcrReadResponse outS = (Tpm2PcrReadResponse) outSBase;
     pcrSelectionOut = outS.pcrSelectionOut;
     pcrValues = outS.pcrValues;
     return outS.pcrUpdateCounter;
 }
Beispiel #2
0
 public Tpm2PcrReadRequest(Tpm2PcrReadRequest the_Tpm2PcrReadRequest)
 {
     if((Object) the_Tpm2PcrReadRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     pcrSelectionIn = the_Tpm2PcrReadRequest.pcrSelectionIn;
 }