C# Class Tpm2Lib.TpmStructureBase

Mostrar archivo Open project: Microsoft/TSS.MSR Class Usage Examples

Public Methods

Method Description
Copy ( ) : void
Equals ( Object obj ) : bool
GetHashCode ( ) : int
GetTpm2BRepresentation ( ) : byte[]
GetTpmRepresentation ( ) : byte[]
ToString ( ) : String
operator ( ) : bool

Protected Methods

Method Description
InternalReadXml ( XmlReader r ) : void
InternalWriteXml ( XmlWriter w ) : void
TpmStructureBase ( ) : System

Private Methods

Method Description
GetFieldsToMarshal ( bool trackTags = false ) : TpmStructMemberInfo[]
ToHost ( Marshaller m ) : void
ToNet ( Marshaller m ) : void

Implements marshaling logic for most of the TPM object types. Can be overridden if a custom marshaling logic is required (e.g. when marshaling of a field depends on other field's value).

ToStringInternal ( TpmStructPrinter p ) : void
UnionElementFromSelector ( Type unionInterface, object selector ) : Type

Method Details

Copy() public method

public Copy ( ) : void
return void

Equals() public method

public Equals ( Object obj ) : bool
obj Object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetTpm2BRepresentation() public method

public GetTpm2BRepresentation ( ) : byte[]
return byte[]

GetTpmRepresentation() public method

public GetTpmRepresentation ( ) : byte[]
return byte[]

InternalReadXml() protected method

protected InternalReadXml ( XmlReader r ) : void
r XmlReader
return void

InternalWriteXml() protected method

protected InternalWriteXml ( XmlWriter w ) : void
w XmlWriter
return void

ToString() public method

public ToString ( ) : String
return String

TpmStructureBase() protected method

protected TpmStructureBase ( ) : System
return System

operator() public static method

public static operator ( ) : bool
return bool