Inheritance: TpmStructureBase
Beispiel #1
0
 public TpmHandle Load(
     TpmHandle parentHandle,
     TpmPrivate inPrivate,
     TpmPublic inPublic
 )
 {
     Tpm2LoadRequest inS = new Tpm2LoadRequest();
     inS.parentHandle = parentHandle;
     inS.inPrivate = inPrivate;
     inS.inPublic = inPublic;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.Load, (TpmStructureBase) inS, typeof(Tpm2LoadResponse), out outSBase, 1, 1);
     Tpm2LoadResponse outS = (Tpm2LoadResponse) outSBase;
     return outS.objectHandle;
 }
Beispiel #2
0
 public Tpm2LoadRequest(Tpm2LoadRequest the_Tpm2LoadRequest)
 {
     if((Object) the_Tpm2LoadRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     parentHandle = the_Tpm2LoadRequest.parentHandle;
     inPrivate = the_Tpm2LoadRequest.inPrivate;
     inPublic = the_Tpm2LoadRequest.inPublic;
 }