1Tspi_TPM_CreateEndorsementKeLyi(b3r)ary Functions MaTnsupail_TPM_CreateEndorsementKey(3)
2
3
4
5                   TCG Software Stack Developer's Reference
6

NAME

8       Tspi_TPM_CreateEndorsementKey - create the endorsement key
9

SYNOPSIS

11       #include <tss/platform.h>
12       #include <tss/tcpa_defines.h>
13       #include <tss/tcpa_typedef.h>
14       #include <tss/tcpa_struct.h>
15       #include <tss/tss_typedef.h>
16       #include <tss/tss_structs.h>
17       #include <tss/tspi.h>
18
19       TSS_RESULT Tspi_TPM_CreateEndorsementKey(TSS_HTPM        hTPM, TSS_HKEY hKey,
20                                                TSS_VALIDATION* pValidationData);
21
22
23

DESCRIPTION

25       Tspi_TPM_CreateEndorsementKey creates an endorsement key. This function
26       is currently not implemented.  Before this method is  called,  the  key
27       information  for  creating  the  key  must  be set in the key object by
28       Tspi_SetAttribData. On return, the public endorsement key  can  be  re‐
29       trieved by Tspi_GetAttribData from the key object.
30
31

PARAMETERS

33   hTPM
34       The hTPM parameter is used to specify the handle of the TPM object.
35
36   hKey
37       The  hKey  parameter is the handle of the key specifying the attributes
38       of the endorsement key to create.
39
40   pValidationData
41       The pValidationData parameter is a validation data structure.  It  pro‐
42       vides  external information required to compute the signature. Once the
43       command is completed, the structure provides a  buffer  containing  the
44       validation  data  and  a buffer containing the data the validation data
45       was computed from.
46
47

RETURN CODES

49       Tspi_TPM_CreateEndorsementKey returns TSS_SUCCESS on success, otherwise
50       one of the following values is returned:
51
52       TSS_E_INVALID_HANDLE
53              hTPM or hKey is not a valid handle.
54
55
56       TSS_E_INTERNAL_ERROR
57              An internal SW error has been detected.
58
59
60       TSS_E_BAD_PARAMETER
61              One or more parameters is bad.
62
63

CONFORMING TO

65       Tspi_TPM_CreateEndorsementKey  conforms  to the Trusted Computing Group
66       Software Specification version 1.1 Golden
67
68

SEE ALSO

70       Tspi_TPM_GetPubEndorsementKey(3), Tspi_Key_GetPubKey(3).
71
72
73
74
75TSS 1.1                           2004-05-25  Tspi_TPM_CreateEndorsementKey(3)
Impressum