\\$1
.. ..
1 TCG Software Stack Developer's Reference
#include <tss/tspi.h> "TSS_RESULT Tspi_TPM_CMKSetRestrictions(TSS_HTPM " hTPM ", TSS_CMK_DELEGATE " CmkDelegate ");"
Tspi_TPM_CMKSetRestrictions is used to set restrictions on the delegated use of Certified Migratable Keys (CMKs). Use of this command cannot itself be delegated.
"TSS_CMK_DELEGATE_SIGNING" Allow use of signing keys.
"TSS_CMK_DELEGATE_STORAGE" Allow use of storage keys.
"TSS_CMK_DELEGATE_BIND" Allow use of binding keys.
"TSS_CMK_DELEGATE_LEGACY" Allow use of legacy keys.
"TSS_CMK_DELEGATE_MIGRATE" Allow use of migratable keys.
Tspi_TPM_CMKSetRestrictions returns TSS_SUCCESS on success, otherwise one of the following values is returned:
TSS_E_INVALID_HANDLE hTPM is not a valid handle.
TSS_E_INTERNAL_ERROR An internal SW error has been detected.
Tspi_TPM_CMKSetRestrictions conforms to the Trusted Computing Group Software Specification version 1.2 Errata A
Tspi_TPM_CMKApproveMA(3), Tspi_TPM_CMKCreateTicket(3), Tspi_Key_CMKCreateBlob(3)