///<param name = "the_nvPublic">the public area</param> public Tpm2bNvPublic( NvPublic the_nvPublic ) { this.nvPublic = the_nvPublic; }
public Tpm2bNvPublic() { nvPublic = new NvPublic(); }
public Tpm2bNvPublic(Tpm2bNvPublic the_Tpm2bNvPublic) { if((Object) the_Tpm2bNvPublic == null ) throw new ArgumentException(Globs.GetResourceString("parmError")); nvPublic = the_Tpm2bNvPublic.nvPublic; }
public void NvDefineSpace( TpmHandle authHandle, byte[] auth, NvPublic publicInfo ) { Tpm2NvDefineSpaceRequest inS = new Tpm2NvDefineSpaceRequest(); inS.authHandle = authHandle; inS.auth = auth; inS.publicInfo = publicInfo; TpmStructureBase outSBase; DispatchMethod(TpmCc.NvDefineSpace, (TpmStructureBase) inS, typeof(Tpm2NvDefineSpaceResponse), out outSBase, 1, 0); }
public NvPublic(NvPublic the_NvPublic) { if((Object) the_NvPublic == null ) throw new ArgumentException(Globs.GetResourceString("parmError")); nvIndex = the_NvPublic.nvIndex; nameAlg = the_NvPublic.nameAlg; attributes = the_NvPublic.attributes; authPolicy = the_NvPublic.authPolicy; dataSize = the_NvPublic.dataSize; }
public Tpm2NvReadPublicResponse(Tpm2NvReadPublicResponse the_Tpm2NvReadPublicResponse) { if((Object) the_Tpm2NvReadPublicResponse == null ) throw new ArgumentException(Globs.GetResourceString("parmError")); nvPublic = the_Tpm2NvReadPublicResponse.nvPublic; nvName = the_Tpm2NvReadPublicResponse.nvName; }
///<param name = "the_nvPublic">the public area of the NV Index</param> ///<param name = "the_nvName">the Name of the nvIndex</param> public Tpm2NvReadPublicResponse( NvPublic the_nvPublic, byte[] the_nvName ) { this.nvPublic = the_nvPublic; this.nvName = the_nvName; }
public Tpm2NvReadPublicResponse() { nvPublic = new NvPublic(); nvName = new byte[0]; }
///<param name = "the_authHandle">TPM_RH_OWNER or TPM_RH_PLATFORM+{PP} Auth Index: 1 Auth Role: USER</param> ///<param name = "the_auth">the authorization value</param> ///<param name = "the_publicInfo">the public parameters of the NV area</param> public Tpm2NvDefineSpaceRequest( TpmHandle the_authHandle, byte[] the_auth, NvPublic the_publicInfo ) { this.authHandle = the_authHandle; this.auth = the_auth; this.publicInfo = the_publicInfo; }
public Tpm2NvDefineSpaceRequest(Tpm2NvDefineSpaceRequest the_Tpm2NvDefineSpaceRequest) { if((Object) the_Tpm2NvDefineSpaceRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError")); authHandle = the_Tpm2NvDefineSpaceRequest.authHandle; auth = the_Tpm2NvDefineSpaceRequest.auth; publicInfo = the_Tpm2NvDefineSpaceRequest.publicInfo; }
public Tpm2NvDefineSpaceRequest() { authHandle = new TpmHandle(); auth = new byte[0]; publicInfo = new NvPublic(); }
public Tpm2NvReadPublicResponse() { nvPublic = new NvPublic(); nvName = null; }