C# Class Tpm2Lib.TpmPolicyCpHash

This command is used to allow a policy to be bound to a specific command and command parameters.
Inheritance: PolicyAce
显示文件 Open project: Microsoft/TSS.MSR

Public Properties

Property Type Description
CpHash TpmHash

Public Methods

Method Description
TpmPolicyCpHash ( ) : System
TpmPolicyCpHash ( TpmHash expectedCpHash, string branchName = "" ) : System

This command is used to allow a policy to be bound to a specific command and command parameters.

Private Methods

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

Method Details

TpmPolicyCpHash() public method

public TpmPolicyCpHash ( ) : System
return System

TpmPolicyCpHash() public method

This command is used to allow a policy to be bound to a specific command and command parameters.
public TpmPolicyCpHash ( TpmHash expectedCpHash, string branchName = "" ) : System
expectedCpHash TpmHash
branchName string
return System

Property Details

CpHash public_oe property

public TpmHash,Tpm2Lib CpHash
return TpmHash