示例#1
0
 public void PcrSetAuthValue(
     TpmHandle pcrHandle,
     byte[] auth
 )
 {
     Tpm2PcrSetAuthValueRequest inS = new Tpm2PcrSetAuthValueRequest();
     inS.pcrHandle = pcrHandle;
     inS.auth = auth;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.PcrSetAuthValue, (TpmStructureBase) inS, typeof(Tpm2PcrSetAuthValueResponse), out outSBase, 1, 0);
 }
示例#2
0
 public Tpm2PcrSetAuthValueRequest(Tpm2PcrSetAuthValueRequest the_Tpm2PcrSetAuthValueRequest)
 {
     if((Object) the_Tpm2PcrSetAuthValueRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     pcrHandle = the_Tpm2PcrSetAuthValueRequest.pcrHandle;
     auth = the_Tpm2PcrSetAuthValueRequest.auth;
 }