Inheritance: TpmStructureBase
Example #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;
 }
Example #2
0
 public Tpm2ContextLoadRequest(Tpm2ContextLoadRequest the_Tpm2ContextLoadRequest)
 {
     if((Object) the_Tpm2ContextLoadRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     context = the_Tpm2ContextLoadRequest.context;
 }
Example #3
0
 ///<param name = "the_context">the context blob</param>
 public Tpm2ContextLoadRequest(
 Context the_context
 )
 {
     this.context = the_context;
 }
Example #4
0
 public Tpm2ContextLoadRequest()
 {
     context = new Context();
 }
Example #5
0
 ///<param name = "the_context"></param>
 public Tpm2ContextSaveResponse(
 Context the_context
 )
 {
     this.context = the_context;
 }
Example #6
0
 public Tpm2ContextSaveResponse(Tpm2ContextSaveResponse the_Tpm2ContextSaveResponse)
 {
     if((Object) the_Tpm2ContextSaveResponse == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     context = the_Tpm2ContextSaveResponse.context;
 }
Example #7
0
 public Tpm2ContextSaveResponse()
 {
     context = new Context();
 }
Example #8
0
 public Context(Context the_Context)
 {
     if((Object) the_Context == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     sequence = the_Context.sequence;
     savedHandle = the_Context.savedHandle;
     hierarchy = the_Context.hierarchy;
     contextBlob = the_Context.contextBlob;
 }