C# Class Tpm2Lib.TpmPolicyCommand

This command indicates that the authorization will be limited to a specific command code.
Inheritance: PolicyAce
Mostra file Open project: Microsoft/TSS.MSR

Public Methods

Method Description
TpmPolicyCommand ( ) : System
TpmPolicyCommand ( TpmCc commandCode, string branchName = "" ) : System

This command indicates that the authorization will be limited to a specific command code.

Private Methods

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

Method Details

TpmPolicyCommand() public method

public TpmPolicyCommand ( ) : System
return System

TpmPolicyCommand() public method

This command indicates that the authorization will be limited to a specific command code.
public TpmPolicyCommand ( TpmCc commandCode, string branchName = "" ) : System
commandCode TpmCc
branchName string
return System