Inheritance: TpmStructureBase
Ejemplo n.º 1
0
 public TpmPublic ReadPublic(
     TpmHandle objectHandle,
     [SuppressMessage("Microsoft.Design", "CA1021")]
     out byte[] name,
     [SuppressMessage("Microsoft.Design", "CA1021")]
     out byte[] qualifiedName
 )
 {
     Tpm2ReadPublicRequest inS = new Tpm2ReadPublicRequest();
     inS.objectHandle = objectHandle;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.ReadPublic, (TpmStructureBase) inS, typeof(Tpm2ReadPublicResponse), out outSBase, 1, 0);
     Tpm2ReadPublicResponse outS = (Tpm2ReadPublicResponse) outSBase;
     name = outS.name;
     qualifiedName = outS.qualifiedName;
     return outS.outPublic;
 }
Ejemplo n.º 2
0
 public Tpm2ReadPublicRequest(Tpm2ReadPublicRequest the_Tpm2ReadPublicRequest)
 {
     if((Object) the_Tpm2ReadPublicRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     objectHandle = the_Tpm2ReadPublicRequest.objectHandle;
 }