Introduction to Library Functions
Tspi_TPM_CreateMaintenanceArchive(3)
TCG Software Stack Developer's ReferenceNAME
Tspi_TPM_CreateMaintenanceArchive - create the TPM manufac-
turer specific maintenance archive data.SYNOPSIS
#include
#include
#include
#include
#include
#include
#include
TSS_RESULT Tspi_TPM_CreateMaintenanceArchive(TSS_HTPM hTPM, TSS_BOOL fGenerateRndNumber,
UINT32* pulRndNumberLength, BYTE** prgbRndNumber, UINT32* pulArchiveDataLength, BYTE** prgbArchiveData);DESCRIPTION
Tspi_TPM_CreateMaintenanceArchive creates the TPM Manufac-
turer specific maintenance archive data. This command is not currently implemented by any manufacturer.PARAMETERS
hTPM The hTPM parameter is used to specify the handle of the TPM object. fGenerateRndNumber The fGenerateRndNumber parameter determines how the random number is generated. If TRUE, a random number is generatedby the TPM and returned. If FALSE, a random number is calcu-
lated based on the owner secret. pulRndNumberLength The pulRndNumberLength parameter receives the length inbytes of the prgbRndNumber parameter. This is 0 if fGenera-
teRndNumber is FALSE. prgbRndNumber The prgbRndNumber parameter receives a pointer to the random number data attributes. This is NULL if fGenerateRndNumber is FALSE. pulArchiveDataLength The pulArchiveDataLength parameter receives the length in bytes of the prgbArchiveData parameter.TSS 1.1 Last change: 2004-05-25 1
Introduction to Library FunctionsTspi_TPM_CreateMaintenanceArchive(3)
prgbArchiveDataThe prgbArchiveData parameter receives a pointer to the ar-
chive data. RETURN CODESTspi_TPM_CreateMaintenanceArchive returns TSS_SUCCESS on
success, otherwise one of the following values is returned:TSS_E_INVALID_HANDLE
hTPM is not a valid handle.TSS_E_INTERNAL_ERROR
An internal SW error has been detected.TSS_E_BAD_PARAMETER
One or more parameters is bad.TSS_E_NOTIMPL
The function is not implemented. CONFORMING TOTspi_TPM_CreateMaintenanceArchive conforms to the Trusted
Computing Group Software Specification version 1.1 GoldenSEE ALSO
Tspi_TPM_KillMaintenanceFeature(3),
Tspi_TPM_LoadMaintenancePubKey(3),
Tspi_TPM_CheckMaintenancePubKey(3).
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:TSS 1.1 Last change: 2004-05-25 2
Introduction to Library FunctionsTspi_TPM_CreateMaintenanceArchive(3)
____________________________________________________________
| 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-25 3
Introduction to Library FunctionsTspi_TPM_CreateMaintenanceArchive(3)
TSS 1.1 Last change: 2004-05-25 4