C# Class Tpm2Lib.PcrValueCollection

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

Public Properties

Property Type Description
Values Tpm2Lib.PcrValue[]

Public Methods

Method Description
GetPcrSelectionArray ( ) : Tpm2Lib.PcrSelection[]
GetSelectionHash ( TpmAlgId hashAlg ) : TpmHash

Get the hash of the concatenation of the values in the array order defined by the PcrSelection[] returned from GetPcrSelectionArray.

GetSpecificValue ( TpmAlgId alg, uint pcrIndex ) : PcrValue
GetTpmlPcrSelection ( ) : PcrSelectionArray

Returns a TPML_PCR_SELECTION (PcrSelectionArray) suitable for marshalling

PcrValueCollection ( ) : System
PcrValueCollection ( PcrSelection pcrSelection, Tpm2bDigest values ) : System
PcrValueCollection ( PcrValue oneVal ) : System

Method Details

GetPcrSelectionArray() public method

public GetPcrSelectionArray ( ) : Tpm2Lib.PcrSelection[]
return Tpm2Lib.PcrSelection[]

GetSelectionHash() public method

Get the hash of the concatenation of the values in the array order defined by the PcrSelection[] returned from GetPcrSelectionArray.
public GetSelectionHash ( TpmAlgId hashAlg ) : TpmHash
hashAlg TpmAlgId
return TpmHash

GetSpecificValue() public method

public GetSpecificValue ( TpmAlgId alg, uint pcrIndex ) : PcrValue
alg TpmAlgId
pcrIndex uint
return PcrValue

GetTpmlPcrSelection() public method

Returns a TPML_PCR_SELECTION (PcrSelectionArray) suitable for marshalling
public GetTpmlPcrSelection ( ) : PcrSelectionArray
return PcrSelectionArray

PcrValueCollection() public method

public PcrValueCollection ( ) : System
return System

PcrValueCollection() public method

public PcrValueCollection ( PcrSelection pcrSelection, Tpm2bDigest values ) : System
pcrSelection PcrSelection
values Tpm2bDigest
return System

PcrValueCollection() public method

public PcrValueCollection ( PcrValue oneVal ) : System
oneVal PcrValue
return System

Property Details

Values public_oe property

public PcrValue[],Tpm2Lib Values
return Tpm2Lib.PcrValue[]