C# Class Tpm2Lib.TpmPolicyAction

PolicyAction is a dummy-ACE that allows a policy author to embed external data in a policy. PolicyAction is _not_ expected to be directly interpreted by the policy evaluator. Instead it might be used to trigger other TPM or non-TPM program actions (like incrementing a monotonic counter).
Inheritance: PolicyAce
Datei anzeigen Open project: Microsoft/TSS.MSR Class Usage Examples

Public Properties

Property Type Description
Action string
Context Object

Public Methods

Method Description
TpmPolicyAction ( ) : System

PolicyAction is a dummy-ACE that allows a policy author to embed external data in a policy. PolicyAction is _not_ expected to be directly interpreted by the policy evaluator. Instead it might be used to trigger other TPM or non-TPM program actions (like incrementing a monotonic counter).

TpmPolicyAction ( string action ) : System
TpmPolicyAction ( string action, Object context ) : System

Private Methods

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

Method Details

TpmPolicyAction() public method

PolicyAction is a dummy-ACE that allows a policy author to embed external data in a policy. PolicyAction is _not_ expected to be directly interpreted by the policy evaluator. Instead it might be used to trigger other TPM or non-TPM program actions (like incrementing a monotonic counter).
public TpmPolicyAction ( ) : System
return System

TpmPolicyAction() public method

public TpmPolicyAction ( string action ) : System
action string
return System

TpmPolicyAction() public method

public TpmPolicyAction ( string action, Object context ) : System
action string
context Object
return System

Property Details

Action public_oe property

public string Action
return string

Context public_oe property

public Object Context
return Object