Introduction to Library Functions
Tspi_TPM_AuthorizeMigrationTicket(3)
NAME
Tspi_TPM_AuthorizeMigrationTicket- create the migration
ticket required for the migration process.SYNOPSIS
#include
#include
#include
#include
#include
#include
#include
TSS_RESULT Tspi_TPM_AuthorizeMigrationTicket(TSS_HTPM hTPM, TSS_HKEY hMigrationKey,
TSS_MIGRATE_SCHEME migrationScheme, UINT32* pulMigTicketLength,
BYTE** prgbMigTicket);DESCRIPTION
Tspi_TPM_AuthorizeMigrationTicket is used by the owner to
authorize a target public key for migration. This mean sthatwhen a system is set up, the owner can decide that all ar-
chives should be done on a particular server. Then as keys are created, the user can pick one of these servers for the target of the migration of their keys, if they wish. This provides one of the two authorizations necessary to migrate a key.PARAMETERS
hTPM Handle of the TPM object hMigrationKey Handle of the object representing the migration key. migrationScheme Flag indiating the migration scheme to be used. pulMigTicketLengthRecieves the length (in bytes) of the prgbMigTicket parame-
ter. prgbMigTicketRecieves a pointer to thememory block containing the migra-
tion ticket blob. RETURN CODESTspi_TPM_AuthorizeMigrationTicket returns TSS_SUCCESS on
success, otherwise one of the following values are returned:TSS 1.1 Last change: 2004-05-26 1
Introduction to Library FunctionsTspi_TPM_AuthorizeMigrationTicket(3)
TSS_E_INVALID_HANDLE
Either hTPM or hMigrationKey is not a valid handle.TSS_E_INTERNAL_ERROR
An error occurred internal to the TSS. CONFORMING TOTspi_TPM_AuthorizeMigrationTicket conforms to the Trusted
Computing Group Software Specification version 1.1 GoldenSEE ALSO
(none).ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:__________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|____________________|_____________________________|_
| Availability | library/security/trousers ||____________________|_____________________________|_
| Interface Stability| Uncommitted ||____________________|____________________________|
NOTES Source for trousers is available at http://opensolaris.organd at http://sourceforge.net/projects/trousers. Documenta-
tion is available at file:///usr/share/man, and http://sourceforge.net/projects/trousers.TSS 1.1 Last change: 2004-05-26 2
Introduction to Library FunctionsTspi_TPM_AuthorizeMigrationTicket(3)
TSS 1.1 Last change: 2004-05-26 3