1
.\" Copyright (C) 2004 International Business Machines Corporation
2
.\" Written by Kathy Robertson based on the Trusted Computing Group Software Stack Specification Version 1.1 Golden
12
.de Sp \" Vertical space (when we can't use .PP)
18
.ie \\n(.$>=3 .ne \\$3
22
.TH "Tspi_TPM_AuthorizeMigrationTicket" 3 "2004-05-26" "TSS 1.1" "TCG Software Stack Developer's Reference"
24
Tspi_TPM_AuthorizeMigrationTicket\- create the migration ticket required for the migration process.
29
.B #include <tss/platform.h>
30
.B #include <tss/tcpa_defines.h>
31
.B #include <tss/tcpa_typedef.h>
32
.B #include <tss/tcpa_struct.h>
33
.B #include <tss/tss_typedef.h>
34
.B #include <tss/tss_structs.h>
35
.B #include <tss/tspi.h>
37
.BI "TSS_RESULT Tspi_TPM_AuthorizeMigrationTicket(TSS_HTPM " hTPM ", TSS_HKEY " hMigrationKey ","
38
.BI " TSS_MIGRATE_SCHEME " migrationScheme ", UINT32* " pulMigTicketLength ","
39
.BI " BYTE** " prgbMigTicket ");"
47
\fBTspi_TPM_AuthorizeMigrationTicket\fR is used by the owner to authorize a target public key for migration. This mean sthat when a system is set up, the owner can decide that all archives 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.
51
Handle of the TPM object
54
Handle of the object representing the migration key.
57
Flag indiating the migration scheme to be used.
59
.SS pulMigTicketLength
60
Recieves the length (in bytes) of the prgbMigTicket parameter.
63
Recieves a pointer to thememory block containing the migration ticket blob.
66
\fBTspi_TPM_AuthorizeMigrationTicket\fR returns TSS_SUCCESS on success, otherwise one of the following values are returned:
68
.SM TSS_E_INVALID_HANDLE
69
Either \fBhTPM\fR or \fBhMigrationKey\fR is not a valid handle.
71
.SM TSS_E_INTERNAL_ERROR
72
An error occurred internal to the TSS.
77
\fBTspi_TPM_AuthorizeMigrationTicket\fR conforms to the Trusted Computing Group Software Specification version 1.1 Golden