1Tspi_TPM_CheckMaintenancePubLKiebyr(a3r)y FunctionsTMsapniu_aTlPM_CheckMaintenancePubKey(3)
2
3
4
5                   TCG Software Stack Developer's Reference
6

NAME

8       Tspi_TPM_CheckMaintenancePubKey- check the public maintenance 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_CheckMaintenancePubKey(TSS_HTPM        hTPM, TSS_HKEY hMaintenanceKey,
20                                                  TSS_VALIDATION* pValidationData);
21
22
23

DESCRIPTION

25       Tspi_TPM_CheckMaintenancePubKey  checks  the public maintenance key. If
26       hMaintenanceKey is NULL, then pValidationData must  not  be  NULL;  the
27       caller  has  to  proof the digest on its own. If hMaintenanceKey is not
28       NULL, then pValidationData must  be  NULL;  the  TSS  service  provider
29       proofs  the digest got internally from the TPM. The key information re‐
30       quired for proofing the public maintenance key must be set in  the  key
31       object  by  Tspi_SetAttribData before this method is called. This func‐
32       tion is not yet implemented.
33

PARAMETERS

35   hTPM
36       Handle of the TPM object
37
38   hMaintenanceKey
39       Handle of the maintenance key object
40
41   pValidationData
42       Validation data structure.  [IN] Provide externalData  information  re‐
43       quired to compute the signature.  [OUT] On successful completion of the
44       ocmmand, the structure provides a buffer containing the validation data
45       and a buffer containing the data the validation data was computed from.
46
47

RETURN CODES

49       Tspi_TPM_CheckMaintenancePubKey  returns TSS_SUCCESS on success, other‐
50       wise one of the following values are returned:
51
52       TSS_E_INVALID_HANDLE
53              hTPM is not a valid handle.
54
55       TSS_E_INTERNAL_ERROR
56              An internal SW error has been detected.
57
58       TSS_E_BAD_PARAMETER
59              One or more of the parameters is incorrect.
60
61       TSS_E_NOTIMPL
62              The command is not implemented.
63
64

CONFORMING TO

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

SEE ALSO

70       Tspi_TPM_LoadMaintenancePubKey(3),               Tspi_TPM_CreateMainte‐
71       nanceArchive(3), Tspi_TPM_KillMaintenanceFeature(3).
72
73
74
75
76TSS 1.1                           2004-05-26Tspi_TPM_CheckMaintenancePubKey(3)
Impressum