~ubuntu-branches/ubuntu/precise/trousers/precise-proposed

« back to all changes in this revision

Viewing changes to man/man3/Tspi_TPM_AuthorizeMigrationTicket.3

  • Committer: Bazaar Package Importer
  • Author(s): William Lima
  • Date: 2007-04-18 16:39:38 UTC
  • Revision ID: james.westby@ubuntu.com-20070418163938-opscl2mvvi76jiec
Tags: upstream-0.2.9.1
ImportĀ upstreamĀ versionĀ 0.2.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
3
.\"
 
4
.de Sh \" Subsection
 
5
.br
 
6
.if t .Sp
 
7
.ne 5
 
8
.PP
 
9
\fB\\$1\fR
 
10
.PP
 
11
..
 
12
.de Sp \" Vertical space (when we can't use .PP)
 
13
.if t .sp .5v
 
14
.if n .sp
 
15
..
 
16
.de Ip \" List item
 
17
.br
 
18
.ie \\n(.$>=3 .ne \\$3
 
19
.el .ne 3
 
20
.IP "\\$1" \\$2
 
21
..
 
22
.TH "Tspi_TPM_AuthorizeMigrationTicket" 3 "2004-05-26" "TSS 1.1" "TCG Software Stack Developer's Reference"
 
23
.SH NAME
 
24
Tspi_TPM_AuthorizeMigrationTicket\- create the migration ticket required for the migration process.
 
25
.SH "SYNOPSIS"
 
26
.ad l
 
27
.hy 0
 
28
.nf
 
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>
 
36
.sp
 
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 ");"
 
40
.fi
 
41
.sp
 
42
.ad
 
43
.hy
 
44
 
 
45
.SH "DESCRIPTION"
 
46
.PP
 
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.
 
48
.SH "PARAMETERS"
 
49
.PP
 
50
.SS hTPM
 
51
Handle of the TPM object
 
52
.PP 
 
53
.SS hMigrationKey
 
54
Handle of the object representing the migration key.
 
55
.PP 
 
56
.SS migrationScheme
 
57
Flag indiating the migration scheme to be used.
 
58
.PP
 
59
.SS pulMigTicketLength
 
60
Recieves the length (in bytes) of the prgbMigTicket parameter.
 
61
.PP
 
62
.SS prgbMigTicket
 
63
Recieves a pointer to thememory block containing the migration ticket blob.
 
64
.SH "RETURN CODES"
 
65
.PP
 
66
\fBTspi_TPM_AuthorizeMigrationTicket\fR returns TSS_SUCCESS on success, otherwise one of the following values are returned:
 
67
.TP
 
68
.SM TSS_E_INVALID_HANDLE
 
69
Either \fBhTPM\fR or \fBhMigrationKey\fR is not a valid handle.
 
70
.TP
 
71
.SM TSS_E_INTERNAL_ERROR
 
72
An error occurred internal to the TSS.
 
73
 
 
74
.SH "CONFORMING TO"
 
75
 
 
76
.PP
 
77
\fBTspi_TPM_AuthorizeMigrationTicket\fR conforms to the Trusted Computing Group Software Specification version 1.1 Golden
 
78
.SH "SEE ALSO"
 
79
 
 
80
.PP
 
81
\fB(none)\fR.
 
82
 
 
83
 
 
84