C# Class Tpm2Lib.TpmPolicyNV

This command is used to cause conditional gating of a policy based on the contents of an NV Index.
Inheritance: PolicyAce
ファイルを表示 Open project: Microsoft/TSS.MSR Class Usage Examples

Public Properties

Property Type Description
IndexName byte[]
Offset ushort
OperandB byte[]
Operation Eo

Public Methods

Method Description
TpmPolicyNV ( ) : System
TpmPolicyNV ( TpmHandle authorizationHandle, byte nvAccessAuth, TpmHandle nvIndex, byte indexName, byte operandB, ushort offset, Eo operation, string branchName = "" ) : System

This command is used to cause conditional gating of a policy based on the contents of an NV Index.

TpmPolicyNV ( byte nvIndexName, byte operandB, ushort offset, Eo operation ) : System

Private Methods

Method Description
Execute ( Tpm2 tpm, AuthSession authSession, PolicyTree policy ) : TpmRc
GetPolicyDigest ( TpmAlgId hashAlg ) : TpmHash

Method Details

TpmPolicyNV() public method

public TpmPolicyNV ( ) : System
return System

TpmPolicyNV() public method

This command is used to cause conditional gating of a policy based on the contents of an NV Index.
public TpmPolicyNV ( TpmHandle authorizationHandle, byte nvAccessAuth, TpmHandle nvIndex, byte indexName, byte operandB, ushort offset, Eo operation, string branchName = "" ) : System
authorizationHandle TpmHandle
nvAccessAuth byte
nvIndex TpmHandle
indexName byte
operandB byte
offset ushort
operation Eo
branchName string
return System

TpmPolicyNV() public method

public TpmPolicyNV ( byte nvIndexName, byte operandB, ushort offset, Eo operation ) : System
nvIndexName byte
operandB byte
offset ushort
operation Eo
return System

Property Details

IndexName public_oe property

public byte[] IndexName
return byte[]

Offset public_oe property

public ushort Offset
return ushort

OperandB public_oe property

public byte[] OperandB
return byte[]

Operation public_oe property

public Eo Operation
return Eo