C# Класс 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.
Наследование: PolicyAce
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
IncludeObjectNameInPolicyHash bool
NameOfNewParent byte[]
NameOfObject byte[]

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Execute ( Tpm2 tpm, AuthSession authSession, PolicyTree policy ) : TpmRc
GetPolicyDigest ( TpmAlgId hashAlg ) : TpmHash

Описание методов

TpmPolicyDuplicationSelect() публичный Метод

public TpmPolicyDuplicationSelect ( ) : System
Результат System

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.
public TpmPolicyDuplicationSelect ( byte nameOfObjectBeingDuplicated, byte nameOfNewParent, bool includeObjectNameInPolicyHash, string branchName = "" ) : System
nameOfObjectBeingDuplicated byte
nameOfNewParent byte
includeObjectNameInPolicyHash bool
branchName string
Результат System

Описание свойств

IncludeObjectNameInPolicyHash публичное свойство

public bool IncludeObjectNameInPolicyHash
Результат bool

NameOfNewParent публичное свойство

public byte[] NameOfNewParent
Результат byte[]

NameOfObject публичное свойство

public byte[] NameOfObject
Результат byte[]