1Tspi_TPM_AuthorizeMiTgCrGatSioofntTwiacrkeetS(t3a)ck DevelTosppeir_'TsPMR_eAfuetrheonrciezeMigrationTicket(3)
2
3
4
6 Tspi_TPM_AuthorizeMigrationTicket- create the migration ticket required
7 for the migration process.
8
10 #include <tss/platform.h>
11 #include <tss/tcpa_defines.h>
12 #include <tss/tcpa_typedef.h>
13 #include <tss/tcpa_struct.h>
14 #include <tss/tss_typedef.h>
15 #include <tss/tss_structs.h>
16 #include <tss/tspi.h>
17
18 TSS_RESULT Tspi_TPM_AuthorizeMigrationTicket(TSS_HTPM hTPM, TSS_HKEY hMigrationKey,
19 TSS_MIGRATE_SCHEME migrationScheme, UINT32* pulMigTicketLength,
20 BYTE** prgbMigTicket);
21
22
23
25 Tspi_TPM_AuthorizeMigrationTicket is used by the owner to authorize a
26 target public key for migration. This mean sthat when a system is set
27 up, the owner can decide that all archives should be done on a particu‐
28 lar server. Then as keys are created, the user can pick one of these
29 servers for the target of the migration of their keys, if they wish.
30 This provides one of the two authorizations necessary to migrate a key.
31
33 hTPM
34 Handle of the TPM object
35
36 hMigrationKey
37 Handle of the object representing the migration key.
38
39 migrationScheme
40 Flag indiating the migration scheme to be used.
41
42 pulMigTicketLength
43 Recieves the length (in bytes) of the prgbMigTicket parameter.
44
45 prgbMigTicket
46 Recieves a pointer to thememory block containing the migration ticket
47 blob.
48
50 Tspi_TPM_AuthorizeMigrationTicket returns TSS_SUCCESS on success, oth‐
51 erwise one of the following values are returned:
52
53 TSS_E_INVALID_HANDLE
54 Either hTPM or hMigrationKey is not a valid handle.
55
56 TSS_E_INTERNAL_ERROR
57 An error occurred internal to the TSS.
58
59
61 Tspi_TPM_AuthorizeMigrationTicket conforms to the Trusted Computing
62 Group Software Specification version 1.1 Golden
63
65 (none).
66
67
68
69
70
71
72TSS 1.1 2004-05-2T6spi_TPM_AuthorizeMigrationTicket(3)