Introduction to Library Functions
Tspi_TPM_LoadMaintenancePubKey(3)
TCG Software Stack Developer's ReferenceNAME
Tspi_TPM_LoadMaintenancePubKey- load the public maintenance
key into the TPMSYNOPSIS
#include
#include
#include
#include
#include
#include
#include
TSS_RESULT Tspi_TPM_LoadMaintenancePubKey(TSS_HTPM hTPM, TSS_HKEY hMaintenanceKey,
TSS_VALIDATION* pValidationData);
DESCRIPTION
Tspi_TPM_LoadMaintenancePubKey loads the public maintenance
key into the TPM. The maintenance key can only be loaded once; any subsequent calls to this function will fail. The key information for loading the maintenance public key mustbe set in the key object by Tspi_SetAttribData before this
method is called. If pValidationData is NULL, the TSS ser-
vice provider proofs the digest got internally from the TPM. Otherwise, the caller has to proof the digest by its own.PARAMETERS
hTPM Handle of the TPM object hMaintenanceKey Handle of the maintenance key object pValidationDataValidation data structure. [IN] Provide externalData infor-
mation required to compute the signature. [OUT] On success-
ful completion of the ocmmand, the structure provides abuffer containing the validation data and a buffer contain-
ing the data the validation data was computed from. RETURN CODESTspi_TPM_LoadMaintenancePubKey returns TSS_SUCCESS on suc-
cess, otherwise one of the following values are returned:TSS_E_INVALID_HANDLE
hTPM or hMaintenanceKey is not a valid handle.TSS 1.1 Last change: 2004-05-26 1
Introduction to Library FunctionsTspi_TPM_LoadMaintenancePubKey(3)
TSS_E_INTERNAL_ERROR
An internal SW error has been detected.TSS_E_BAD_PARAMETER
One or more of the parameters is incorrect.TSS_E_NOTIMPL
The command is not implemented. CONFORMING TOTspi_TPM_LoadMaintenancePubKey conforms to the Trusted Com-
puting Group Software Specification version 1.1 GoldenSEE ALSO
Tspi_TPM_CheckMaintenancePubKey(3),
Tspi_TPM_KillMaintenanceFeature(3),
Tspi_TPM_CreateMaintenanceArchive(3).
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:__________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|____________________|_____________________________|_
| Availability | library/security/trousers ||____________________|_____________________________|_
| Interface Stability| Uncommitted ||____________________|____________________________|
NOTES Source for trousers is available at http://opensolaris.organd at http://sourceforge.net/projects/trousers. Documenta-
tion is available at file:///usr/share/man, and http://sourceforge.net/projects/trousers.TSS 1.1 Last change: 2004-05-26 2
Introduction to Library FunctionsTspi_TPM_LoadMaintenancePubKey(3)
TSS 1.1 Last change: 2004-05-26 3