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; }
public Tpm2ContextLoadRequest(Tpm2ContextLoadRequest the_Tpm2ContextLoadRequest) { if((Object) the_Tpm2ContextLoadRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError")); context = the_Tpm2ContextLoadRequest.context; }
///<param name = "the_context">the context blob</param> public Tpm2ContextLoadRequest( Context the_context ) { this.context = the_context; }
public Tpm2ContextLoadRequest() { context = new Context(); }
///<param name = "the_context"></param> public Tpm2ContextSaveResponse( Context the_context ) { this.context = the_context; }
public Tpm2ContextSaveResponse(Tpm2ContextSaveResponse the_Tpm2ContextSaveResponse) { if((Object) the_Tpm2ContextSaveResponse == null ) throw new ArgumentException(Globs.GetResourceString("parmError")); context = the_Tpm2ContextSaveResponse.context; }
public Tpm2ContextSaveResponse() { context = new Context(); }
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; }