C# Class Tpm2Lib.PcrSelection

Inheritance: TpmStructureBase
Mostra file Open project: Microsoft/TSS.MSR Class Usage Examples

Public Properties

Property Type Description
MaxPcrs ushort

Private Properties

Property Type Description
FinishInit void
Init void

Public Methods

Method Description
Clear ( PcrSelection rhs ) : bool
Clone ( ) : PcrSelection
Copy ( ) : PcrSelection
FullPcrBank ( TpmAlgId hashAlg, uint pcrCount ) : PcrSelection
FullPcrBanks ( IEnumerable hashAlgs, uint pcrCount ) : Tpm2Lib.PcrSelection[]
GetSelectedPcrs ( ) : uint[]
IsPcrSelected ( uint pcrNumber ) : bool
NumPcrsSelected ( ) : int
PcrSelection ( ) : System
PcrSelection ( PcrSelection the_PcrSelection ) : System
PcrSelection ( TpmAlgId hashAlg, IEnumerable indices, uint pcrCount ) : System
PcrSelection ( TpmAlgId the_hash, byte the_pcrSelect ) : System
PcrSelection ( TpmAlgId hashAlg, uint pcrCount ) : System
SelectPcr ( uint pcrNumber ) : void
SinglePcr ( TpmAlgId bank, uint index ) : PcrSelection
SinglePcrArray ( TpmAlgId bank, int index ) : Tpm2Lib.PcrSelection[]
SinglePcrArray ( TpmAlgId bank, uint index ) : Tpm2Lib.PcrSelection[]

Private Methods

Method Description
FinishInit ( ) : void
Init ( TpmAlgId hashAlg, uint maxPcrs ) : void

Method Details

Clear() public method

public Clear ( PcrSelection rhs ) : bool
rhs PcrSelection
return bool

Clone() public method

public Clone ( ) : PcrSelection
return PcrSelection

Copy() public method

public Copy ( ) : PcrSelection
return PcrSelection

FullPcrBank() public static method

public static FullPcrBank ( TpmAlgId hashAlg, uint pcrCount ) : PcrSelection
hashAlg TpmAlgId
pcrCount uint
return PcrSelection

FullPcrBanks() public static method

public static FullPcrBanks ( IEnumerable hashAlgs, uint pcrCount ) : Tpm2Lib.PcrSelection[]
hashAlgs IEnumerable
pcrCount uint
return Tpm2Lib.PcrSelection[]

GetSelectedPcrs() public method

public GetSelectedPcrs ( ) : uint[]
return uint[]

IsPcrSelected() public method

public IsPcrSelected ( uint pcrNumber ) : bool
pcrNumber uint
return bool

NumPcrsSelected() public method

public NumPcrsSelected ( ) : int
return int

PcrSelection() public method

public PcrSelection ( ) : System
return System

PcrSelection() public method

public PcrSelection ( PcrSelection the_PcrSelection ) : System
the_PcrSelection PcrSelection
return System

PcrSelection() public method

public PcrSelection ( TpmAlgId hashAlg, IEnumerable indices, uint pcrCount ) : System
hashAlg TpmAlgId
indices IEnumerable
pcrCount uint
return System

PcrSelection() public method

public PcrSelection ( TpmAlgId the_hash, byte the_pcrSelect ) : System
the_hash TpmAlgId the hash algorithm associated with the selection
the_pcrSelect byte the bit map of selected PCR
return System

PcrSelection() public method

public PcrSelection ( TpmAlgId hashAlg, uint pcrCount ) : System
hashAlg TpmAlgId
pcrCount uint
return System

SelectPcr() public method

public SelectPcr ( uint pcrNumber ) : void
pcrNumber uint
return void

SinglePcr() public static method

public static SinglePcr ( TpmAlgId bank, uint index ) : PcrSelection
bank TpmAlgId
index uint
return PcrSelection

SinglePcrArray() public static method

public static SinglePcrArray ( TpmAlgId bank, int index ) : Tpm2Lib.PcrSelection[]
bank TpmAlgId
index int
return Tpm2Lib.PcrSelection[]

SinglePcrArray() public static method

public static SinglePcrArray ( TpmAlgId bank, uint index ) : Tpm2Lib.PcrSelection[]
bank TpmAlgId
index uint
return Tpm2Lib.PcrSelection[]

Property Details

MaxPcrs public_oe static_oe property

public static ushort MaxPcrs
return ushort