Inheritance: TpmStructureBase
Ejemplo n.º 1
0
 public TpmHandle LoadExternal(
     Sensitive inPrivate,
     TpmPublic inPublic,
     TpmHandle hierarchy
 )
 {
     Tpm2LoadExternalRequest inS = new Tpm2LoadExternalRequest();
     inS.inPrivate = inPrivate;
     inS.inPublic = inPublic;
     inS.hierarchy = hierarchy;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.LoadExternal, (TpmStructureBase) inS, typeof(Tpm2LoadExternalResponse), out outSBase, 0, 1);
     Tpm2LoadExternalResponse outS = (Tpm2LoadExternalResponse) outSBase;
     return outS.objectHandle;
 }
Ejemplo n.º 2
0
 public Tpm2LoadExternalRequest(Tpm2LoadExternalRequest the_Tpm2LoadExternalRequest)
 {
     if((Object) the_Tpm2LoadExternalRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     inPrivate = the_Tpm2LoadExternalRequest.inPrivate;
     inPublic = the_Tpm2LoadExternalRequest.inPublic;
     hierarchy = the_Tpm2LoadExternalRequest.hierarchy;
 }