C# Class Tpm2Lib.TpmPolicyDuplicationSelect

This command allows qualification of duplication to allow duplication to a selected new parent. If this command is used without a subsequent TPM2_PolicyAuthorize() in the policy, then only the new parent is selected. If a subsequent TPM2_PolicyAuthorize() is used, then both the new parent and the object being duplicated may be specified.
Inheritance: PolicyAce
Afficher le fichier Open project: Microsoft/TSS.MSR

Méthodes publiques

Свойство Type Description
IncludeObjectNameInPolicyHash bool
NameOfNewParent byte[]
NameOfObject byte[]

Méthodes publiques

Méthode Description
TpmPolicyDuplicationSelect ( ) : System
TpmPolicyDuplicationSelect ( byte nameOfObjectBeingDuplicated, byte nameOfNewParent, bool includeObjectNameInPolicyHash, string branchName = "" ) : System

This command allows qualification of duplication to allow duplication to a selected new parent. If this command is used without a subsequent TPM2_PolicyAuthorize() in the policy, then only the new parent is selected. If a subsequent TPM2_PolicyAuthorize() is used, then both the new parent and the object being duplicated may be specified.

Private Methods

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

Method Details

TpmPolicyDuplicationSelect() public méthode

public TpmPolicyDuplicationSelect ( ) : System
Résultat System

TpmPolicyDuplicationSelect() public méthode

This command allows qualification of duplication to allow duplication to a selected new parent. If this command is used without a subsequent TPM2_PolicyAuthorize() in the policy, then only the new parent is selected. If a subsequent TPM2_PolicyAuthorize() is used, then both the new parent and the object being duplicated may be specified.
public TpmPolicyDuplicationSelect ( byte nameOfObjectBeingDuplicated, byte nameOfNewParent, bool includeObjectNameInPolicyHash, string branchName = "" ) : System
nameOfObjectBeingDuplicated byte
nameOfNewParent byte
includeObjectNameInPolicyHash bool
branchName string
Résultat System

Property Details

IncludeObjectNameInPolicyHash public_oe property

public bool IncludeObjectNameInPolicyHash
Résultat bool

NameOfNewParent public_oe property

public byte[] NameOfNewParent
Résultat byte[]

NameOfObject public_oe property

public byte[] NameOfObject
Résultat byte[]