Inheritance: TpmStructureBase
Beispiel #1
0
 public TpmHandle ContextLoad(
     Context context
 )
 {
     Tpm2ContextLoadRequest inS = new Tpm2ContextLoadRequest();
     inS.context = context;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.ContextLoad, (TpmStructureBase) inS, typeof(Tpm2ContextLoadResponse), out outSBase, 0, 1);
     Tpm2ContextLoadResponse outS = (Tpm2ContextLoadResponse) outSBase;
     return outS.loadedHandle;
 }
Beispiel #2
0
 public Tpm2ContextLoadRequest(Tpm2ContextLoadRequest the_Tpm2ContextLoadRequest)
 {
     if((Object) the_Tpm2ContextLoadRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     context = the_Tpm2ContextLoadRequest.context;
 }