C# Class Tpm2Lib.TpmPolicyNameHash

This command allows a policy to be bound to a specific set of handles without being bound to the parameters of the command. This is most useful for commands such as TPM2_Duplicate() and for TPM2_PCR_Event() when the referenced PCR requires a policy.
Inheritance: PolicyAce
Afficher le fichier Open project: Microsoft/TSS.MSR

Méthodes publiques

Свойство Type Description
NameHash byte[]

Méthodes publiques

Méthode Description
TpmPolicyNameHash ( ) : System
TpmPolicyNameHash ( byte expectedNameHash, string branchName = "" ) : System

This command allows a policy to be bound to a specific set of handles without being bound to the parameters of the command. This is most useful for commands such as TPM2_Duplicate() and for TPM2_PCR_Event() when the referenced PCR requires a policy.

Private Methods

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

Method Details

TpmPolicyNameHash() public méthode

public TpmPolicyNameHash ( ) : System
Résultat System

TpmPolicyNameHash() public méthode

This command allows a policy to be bound to a specific set of handles without being bound to the parameters of the command. This is most useful for commands such as TPM2_Duplicate() and for TPM2_PCR_Event() when the referenced PCR requires a policy.
public TpmPolicyNameHash ( byte expectedNameHash, string branchName = "" ) : System
expectedNameHash byte
branchName string
Résultat System

Property Details

NameHash public_oe property

public byte[] NameHash
Résultat byte[]