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
Mostrar archivo Open project: Microsoft/TSS.MSR

Public Properties

Property Type Description
IncludeObjectNameInPolicyHash bool
NameOfNewParent byte[]
NameOfObject byte[]

Public Methods

Method 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

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

Method Details

TpmPolicyDuplicationSelect() public method

public TpmPolicyDuplicationSelect ( ) : System
return System

TpmPolicyDuplicationSelect() public method

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
return System

Property Details

IncludeObjectNameInPolicyHash public_oe property

public bool IncludeObjectNameInPolicyHash
return bool

NameOfNewParent public_oe property

public byte[] NameOfNewParent
return byte[]

NameOfObject public_oe property

public byte[] NameOfObject
return byte[]