HP-UX Trusted Computing Services A.02.00 Administrator's Guide

B TSPI APIs
The authoritative Trusted Computing Group (TCG) Transport Service Provider Interface (TSPI)
reference document (TSS specification) is available at the TCG website:
http://www.trustedcomputinggroup.org
The current version of TCS contains version 0.2.8 of the TrouSerS stack implementation. A good
source of sample TSPI code is located at the TrouSerS website:
http://trousers.sourceforge.net/
Table B-1 lists the TSPI (TrouSerS) APIs and indicates if they are supported with TCS. If an API
is not supported with TCS, a brief explanation follows the listing. Manpages for these APIs are
included with the TCS software.
Table B-1 Supported TSPI APIs
NotesSupportedTSPI Function
Common Method Definition
Yes
Tspi_SetAttribUint32
Yes
Tspi_GetAttribUint32
Yes
Tspi_SetAttribData
Yes
Tspi_GetAttribData
Yes
Tspi_ChangeAuth
Not implemented.No
Tspi_ChangeAuthAsym
Yes
Tspi_GetPolicyObject
Tspi_Context
Yes
Tspi_Context_Create
Yes
Tspi_Context_Close
Yes
Tspi_SetAttribUint32
Yes
Tspi_GetAttribUint32
Yes
Tspi_SetAttribData
Yes
Tspi_GetAttribData
Yes
Tspi_Context_Connect
Yes
Tspi_Context_FreeMemory
Yes
Tspi_Context_GetDefaultPolicy
Yes
Tspi_Context_CreateObject
Yes
Tspi_Context_CloseObject
Yes
Tspi_Context_GetCapability
Yes
Tspi_Context_GetTPMObject
Yes
Tspi_Context_LoadKeyByBlob
Yes
Tspi_Context_LoadKeyByUUID
Yes
Tspi_Context_RegisterKey
Yes
Tspi_Context_UnregisterKey
89